SilverStripe ConfigDB Sample
<?php
/* === ENVIRONMENT-SPECIFIC SETTINGS (excluded from Git) === */
$databaseConfig = array(
"type" => 'MySQLDatabase',
"server" => 'localhost',
"username" => 'username',
"password" => 'password',
"database" => 'database',
"path" => '',
);
// setup state switches
Director::set_environment_type("dev");
//Director::set_environment_type("live");
Security::setDefaultAdmin('admin','password');