config.php 800 Bytes
Newer Older
w  
Qiang Xue committed
1
<?php
Alexander Makarov committed
2 3 4
return [
	'databases' => [
		'cubrid' => [
Carsten Brandt committed
5 6 7 8
			'dsn' => 'cubrid:dbname=demodb;host=localhost;port=33000',
			'username' => 'dba',
			'password' => '',
			'fixture' => __DIR__ . '/cubrid.sql',
Alexander Makarov committed
9 10
		],
		'mysql' => [
11 12 13 14
			'dsn' => 'mysql:host=127.0.0.1;dbname=yiitest',
			'username' => 'travis',
			'password' => '',
			'fixture' => __DIR__ . '/mysql.sql',
Alexander Makarov committed
15 16
		],
		'sqlite' => [
17 18
			'dsn' => 'sqlite::memory:',
			'fixture' => __DIR__ . '/sqlite.sql',
Alexander Makarov committed
19 20
		],
		'sqlsrv' => [
resurtm committed
21 22 23 24
			'dsn' => 'sqlsrv:Server=localhost;Database=test',
			'username' => '',
			'password' => '',
			'fixture' => __DIR__ . '/mssql.sql',
Alexander Makarov committed
25 26
		],
		'pgsql' => [
27
			'dsn' => 'pgsql:host=localhost;dbname=yiitest;port=5432;',
28 29 30
			'username' => 'postgres',
			'password' => 'postgres',
			'fixture' => __DIR__ . '/postgres.sql',
Alexander Makarov committed
31 32 33
		],
	],
];