Skip to content

Instantly share code, notes, and snippets.

@blogcacanid
Created July 6, 2020 02:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blogcacanid/d6b51b4ef6414292fa71be450430bfcd to your computer and use it in GitHub Desktop.
Save blogcacanid/d6b51b4ef6414292fa71be450430bfcd to your computer and use it in GitHub Desktop.
Database.php
public $default = [
'DSN' => '',
'hostname' => 'localhost',
'username' => 'root',
'password' => '',
'database' => 'db_pegawai',
'DBDriver' => 'MySQLi',
'DBPrefix' => '',
'pConnect' => false,
'DBDebug' => (ENVIRONMENT !== 'production'),
'cacheOn' => false,
'cacheDir' => '',
'charset' => 'utf8',
'DBCollat' => 'utf8_general_ci',
'swapPre' => '',
'encrypt' => false,
'compress' => false,
'strictOn' => false,
'failover' => [],
'port' => 3306,
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment