Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [PDOException]
- SQLSTATE[HY000] [1049] Unknown database 'createlinkstable'
- <?php
- return [
- 'fetch' => PDO::FETCH_OBJ,
- 'default' => env('DB_CONNECTION', 'mysql'),
- 'connections' => [
- 'sqlite' => [
- 'driver' => 'sqlite',
- 'database' => env('DB_DATABASE', database_path('database.sqlite')),
- 'prefix' => '',
- ],
- 'mysql' => [
- 'driver' => 'mysql',
- 'host' => env('DB_HOST', '127.0.0.1'),
- 'port' => env('DB_PORT', '3306'),
- 'database' => env('DB_DATABASE', 'CreateLinksTable'),
- 'username' => env('DB_USERNAME', 'root'),
- 'password' => env('DB_PASSWORD', ''),
- 'charset' => 'utf8',
- 'collation' => 'utf8_unicode_ci',
- 'prefix' => '',
- 'strict' => true,
- 'engine' => null,
- ],
- ],
- 'migrations' => 'migrations',
- 'redis' => [
- 'cluster' => false,
- 'default' => [
- 'host' => env('REDIS_HOST', '127.0.0.1'),
- 'password' => env('REDIS_PASSWORD', null),
- 'port' => env('REDIS_PORT', 6379),
- 'database' => 0,
- ],
- ],
- ];
- APP_ENV=local
- APP_KEY=*******
- APP_DEBUG=true
- APP_LOG_LEVEL=debug
- APP_URL=http://localhost
- DB_CONNECTION=mysql
- DB_HOST=127.0.0.1
- DB_PORT=3306
- DB_DATABASE=CreateLinksTable
- DB_USERNAME=root
- DB_PASSWORD=
Add Comment
Please, Sign In to add comment