Guest User

Untitled

a guest
Jan 7th, 2019
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. [PDOException]
  2. SQLSTATE[HY000] [1049] Unknown database 'createlinkstable'
  3.  
  4. <?php
  5.  
  6. return [
  7.  
  8. 'fetch' => PDO::FETCH_OBJ,
  9.  
  10. 'default' => env('DB_CONNECTION', 'mysql'),
  11.  
  12. 'connections' => [
  13.  
  14. 'sqlite' => [
  15. 'driver' => 'sqlite',
  16. 'database' => env('DB_DATABASE', database_path('database.sqlite')),
  17. 'prefix' => '',
  18. ],
  19.  
  20. 'mysql' => [
  21. 'driver' => 'mysql',
  22. 'host' => env('DB_HOST', '127.0.0.1'),
  23. 'port' => env('DB_PORT', '3306'),
  24. 'database' => env('DB_DATABASE', 'CreateLinksTable'),
  25. 'username' => env('DB_USERNAME', 'root'),
  26. 'password' => env('DB_PASSWORD', ''),
  27. 'charset' => 'utf8',
  28. 'collation' => 'utf8_unicode_ci',
  29. 'prefix' => '',
  30. 'strict' => true,
  31. 'engine' => null,
  32. ],
  33.  
  34.  
  35. ],
  36.  
  37. 'migrations' => 'migrations',
  38.  
  39. 'redis' => [
  40.  
  41. 'cluster' => false,
  42.  
  43. 'default' => [
  44. 'host' => env('REDIS_HOST', '127.0.0.1'),
  45. 'password' => env('REDIS_PASSWORD', null),
  46. 'port' => env('REDIS_PORT', 6379),
  47. 'database' => 0,
  48. ],
  49. ],
  50.  
  51. ];
  52.  
  53. APP_ENV=local
  54. APP_KEY=*******
  55. APP_DEBUG=true
  56. APP_LOG_LEVEL=debug
  57. APP_URL=http://localhost
  58.  
  59. DB_CONNECTION=mysql
  60. DB_HOST=127.0.0.1
  61. DB_PORT=3306
  62. DB_DATABASE=CreateLinksTable
  63. DB_USERNAME=root
  64. DB_PASSWORD=
Add Comment
Please, Sign In to add comment