2014-01-03 19:28:33 -03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
2014-03-16 10:46:16 +06:00
|
|
|
'class' => 'yii\db\Connection',
|
|
|
|
'dsn' => 'mysql:host=localhost;dbname=yii2basic',
|
|
|
|
'username' => 'root',
|
|
|
|
'password' => '',
|
|
|
|
'charset' => 'utf8',
|
2017-06-30 18:00:32 +03:00
|
|
|
|
|
|
|
// Schema cache options (for production environment)
|
|
|
|
//'enableSchemaCache' => true,
|
|
|
|
//'schemaCacheDuration' => 60,
|
|
|
|
//'schemaCache' => 'cache',
|
2014-01-03 19:28:33 -03:00
|
|
|
];
|