. * * @link http://www.oxid-esales.com * @copyright (C) OXID eSales AG 2003-2017 */ namespace OxidEsales\DoctrineMigrationWrapper; $facts = new \OxidEsales\Facts\Facts(); return [ 'dbname' => $facts->getDatabaseName(), 'user' => $facts->getDatabaseUserName(), 'password' => $facts->getDatabasePassword(), 'host' => $facts->getDatabaseHost(), 'driver' => $facts->getDatabaseDriver(), 'charset' => 'utf8', 'driverOptions' => [ \PDO::MYSQL_ATTR_INIT_COMMAND => 'SET @@SESSION.sql_mode=\'\'' ] ];