Created
July 16, 2015 09:42
-
-
Save andyfleming/00ec93c994a6347372e9 to your computer and use it in GitHub Desktop.
Database config for laravel/lumen
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return [ | |
'default' => 'accounts', | |
'connections' => [ | |
'accounts' => [ | |
'driver' => 'mysql', | |
'host' => 'localhost', | |
'database' => 'accounts', | |
'username' => 'root', | |
'password' => 'secret', | |
'charset' => 'utf8', | |
'collation' => 'utf8_unicode_ci', | |
'prefix' => '', | |
'strict' => false, | |
], | |
'content' => [ | |
'driver' => 'mysql', | |
'host' => 'localhost', | |
'database' => 'content', | |
'username' => 'root', | |
'password' => 'secret', | |
'charset' => 'utf8', | |
'collation' => 'utf8_unicode_ci', | |
'prefix' => '', | |
'strict' => false, | |
], | |
], | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you need a
'migrations' => 'migrations',
now to stop errorSQLSTATE[42000]: Syntax error or access violation: 1103 Incorrect table name ''