Initial import
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
$host = '127.0.0.1';
|
||||
$user = 'root';
|
||||
$password = '';
|
||||
$database = 'phplist';
|
||||
return [
|
||||
'class' => 'yii\db\Connection',
|
||||
'dsn' => "mysql:host=$host;dbname=".$database,
|
||||
'username' => $user,
|
||||
'password' => $password,
|
||||
'charset' => 'utf8',
|
||||
'attributes' => [PDO::ATTR_CASE => PDO::CASE_LOWER],
|
||||
// Schema cache options (for production environment)
|
||||
//'enableSchemaCache' => true,
|
||||
//'schemaCacheDuration' => 60,
|
||||
//'schemaCache' => 'cache',
|
||||
];
|
||||
Reference in New Issue
Block a user