config.php 663 Bytes
Newer Older
w  
Qiang Xue committed
1 2 3
<?php

return array(
4 5 6 7 8 9 10 11 12 13 14
	'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
15 16 17 18 19 20
		'sqlsrv' => array(
			'dsn' => 'sqlsrv:Server=localhost;Database=test',
			'username' => '',
			'password' => '',
			'fixture' => __DIR__ . '/mssql.sql',
		),
21
		'pgsql' => array(
22
			'dsn' => 'pgsql:host=localhost;dbname=yiitest;port=5432;',
23 24 25
			'username' => 'postgres',
			'password' => 'postgres',
			'fixture' => __DIR__ . '/postgres.sql',
26
		)
27
    )
28
);