config.php 835 Bytes
Newer Older
w  
Qiang Xue committed
1 2
<?php
return array(
3
	'databases' => array(
Carsten Brandt committed
4 5 6 7 8 9
		'cubrid' => array(
			'dsn' => 'cubrid:dbname=demodb;host=localhost;port=33000',
			'username' => 'dba',
			'password' => '',
			'fixture' => __DIR__ . '/cubrid.sql',
		),
10 11 12 13 14 15 16 17 18 19
		'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
20 21 22 23 24 25
		'sqlsrv' => array(
			'dsn' => 'sqlsrv:Server=localhost;Database=test',
			'username' => '',
			'password' => '',
			'fixture' => __DIR__ . '/mssql.sql',
		),
26
		'pgsql' => array(
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
);