[ 'cubrid' => [ 'dsn' => 'cubrid:dbname=demodb;host=localhost;port=33000', 'username' => 'dba', 'password' => '', 'fixture' => __DIR__ . '/cubrid.sql', ], 'mysql' => [ 'dsn' => 'mysql:host=127.0.0.1;dbname=yiitest', 'username' => 'root', 'password' => 'root', 'fixture' => __DIR__ . '/mysql.sql', ], 'sqlite' => [ 'dsn' => 'sqlite::memory:', 'fixture' => __DIR__ . '/sqlite.sql', ], 'sqlsrv' => [ 'dsn' => 'sqlsrv:Server=127.0.0.1,1433;Database=yiitest', 'username' => 'SA', 'password' => 'YourStrong!Passw0rd', 'fixture' => __DIR__ . '/mssql.sql', ], 'pgsql' => [ 'dsn' => 'pgsql:host=localhost;dbname=yiitest;port=5432;', 'username' => 'postgres', 'password' => 'postgres', 'fixture' => __DIR__ . '/postgres.sql', ], 'oci' => [ 'dsn' => 'oci:dbname=localhost/XE;charset=AL32UTF8;', 'username' => 'system', 'password' => 'oracle', 'fixture' => __DIR__ . '/oci.sql', ], ], ]; if (is_file(__DIR__ . '/config.local.php')) { include __DIR__ . '/config.local.php'; } return $config;