config.php 661 Bytes
Newer Older
w  
Qiang Xue committed
1 2
<?php
return array(
3 4 5 6 7 8 9 10 11 12 13
	'databases' => array(
		'mysql' => array(
			'dsn' => 'mysql:host=127.0.0.1;dbname=yiitest',
			'username' => 'travis',
			'password' => '',
			'fixture' => __DIR__ . '/mysql.sql',
		),
		'sqlite' => array(
			'dsn' => 'sqlite::memory:',
			'fixture' => __DIR__ . '/sqlite.sql',
		),
resurtm committed
14 15 16 17 18 19
		'sqlsrv' => array(
			'dsn' => 'sqlsrv:Server=localhost;Database=test',
			'username' => '',
			'password' => '',
			'fixture' => __DIR__ . '/mssql.sql',
		),
20
		'pgsql' => array(
21
			'dsn' => 'pgsql:host=localhost;dbname=yiitest;port=5432;',
22 23 24
			'username' => 'postgres',
			'password' => 'postgres',
			'fixture' => __DIR__ . '/postgres.sql',
Alexander Makarov committed
25 26
		),
	),
27
);