'sqlite', 'caching' => true, 'logging' => true, 'connections' => [ 'sqlite' => [ 'connection_string' => 'sqlite:'.var_dir('db/apricot.sqlite'), 'db_file' => var_dir('db/apricot.sqlite'), ], 'mysql' => [ 'connection_string' => 'mysql:host=localhost;port=3306;dbname=apricotdb', 'username' => 'apricot', 'password' => 'password', 'driver_options' => [PDO::MYSQL_ATTR_INIT_COMMAND => 'set names utf8'], 'check_tables' => 'show tables like \'user\'', 'initial_statements'=> [ 'set names utf8', ], ], ], 'initial_data' => [ 'user'=> [ 'exec:sqlite' =>[ 'delete from sqlite_sequence where name=\'user\'', ], 'exec:mysql' =>[ 'alter table user auto_increment = 1;', ], 'rows' => [ [ 'account' =>'root', 'password' =>password_hash('', PASSWORD_DEFAULT), 'email' =>'root@sample.com', 'note' =>'Initial User', 'created_at' => $now, 'updated_at' => $now, ], ], ], ], ];