yii2-netdisk/config/db.php

15 lines
342 B
PHP
Raw Normal View History

<?php
return [
2014-03-16 12:46:16 +08:00
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=yii2basic',
'username' => 'root',
'password' => '',
'charset' => 'utf8',
// Schema cache options (for production environment)
//'enableSchemaCache' => true,
//'schemaCacheDuration' => 60,
//'schemaCache' => 'cache',
];