Guest User

Untitled

a guest
Apr 16th, 2018
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. PHP 7.2.3-1+ubuntu16.04.1+deb.sury.org+1 (cli)
  2. mysql Ver 14.14 Distrib 5.7.21, for Linux (x86_64) using EditLine wrapper
  3. Psy Shell v0.8.18 (PHP 7.2.3-1+ubuntu16.04.1+deb.sury.org+1 — cli)
  4.  
  5. php artisan migrate
  6.  
  7. In Connection.php line 664:
  8.  
  9. SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using pas
  10. sword: YES) (SQL: select * from information_schema.tables where table_schem
  11. a = mytestproject and table_name = migrations)
  12.  
  13. In PDOConnection.php line 50:
  14.  
  15. SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using pas
  16. sword: YES)
  17.  
  18. In PDOConnection.php line 46:
  19.  
  20. SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using pas
  21. sword: YES)
  22.  
  23. APP_ENV=local
  24. APP_DEBUG=true
  25. APP_KEY=
  26. APP_TIMEZONE=UTC
  27.  
  28. DB_CONNECTION=mysql
  29. DB_HOST=localhost
  30. DB_PORT=3306
  31. DB_DATABASE=mytestproject
  32. DB_USERNAME=root
  33. DB_PASSWORD=password
  34.  
  35. REDIS_HOST=127.0.0.1
  36. REDIS_PORT=6379
  37.  
  38. CACHE_DRIVER=redis
  39. QUEUE_DRIVER=redis
  40.  
  41. 'mysql' => [
  42. 'driver' => 'mysql',
  43. 'host' => env('DB_HOST', 'localhost'),
  44. 'port' => env('DB_PORT', '3306'),
  45. 'database' => env('DB_DATABASE', 'mytestproject'),
  46. 'username' => env('DB_USERNAME', 'root'),
  47. 'password' => env('DB_PASSWORD', 'mypassword'),
  48. 'unix_socket' => env('DB_SOCKET', ' '),
  49. 'charset' => 'utf8mb4',
  50. 'collation' => 'utf8mb4_unicode_ci',
  51. 'prefix' => '',
  52. 'strict' => true,
  53. 'engine' => null,
  54. ],
  55.  
  56. mysql> SELECT user, host FROM mysql.user;
  57. +------------------+-----------+
  58. | user | host |
  59. +------------------+-----------+
  60. | debian-sys-maint | localhost |
  61. | mysql.session | localhost |
  62. | mysql.sys | localhost |
  63. | root | localhost |
  64. +------------------+-----------+
  65. 4 rows in set (0.06 sec)
Add Comment
Please, Sign In to add comment