Skip to content

Instantly share code, notes, and snippets.

@DeaVenditama
Created December 5, 2019 08:11
Show Gist options
  • Save DeaVenditama/92ee10c0a96110cd8008518d99ea5c25 to your computer and use it in GitHub Desktop.
Save DeaVenditama/92ee10c0a96110cd8008518d99ea5c25 to your computer and use it in GitHub Desktop.
config/db.php
<?php
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=simpeg',
'username' => 'root',
'password' => '',
'charset' => 'utf8',
// Schema cache options (for production environment)
//'enableSchemaCache' => true,
//'schemaCacheDuration' => 60,
//'schemaCache' => 'cache',
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment