Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. C:\xampp\htdocs\lex>php artisan migrate
  2.  
  3. Illuminate\Database\QueryException : SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using
  4. password: YES) (SQL: select * from information_schema.tables where table_schema = homestead and table_name = migration
  5. s)
  6.  
  7. at C:\xampp\htdocs\lex\vendor\laravel\framework\src\Illuminate\Database\Connection.php:664
  8. 660| // If an exception occurs when attempting to run a query, we'll format the error
  9. 661| // message to include the bindings with SQL, which will make this exception a
  10. 662| // lot more helpful to the developer instead of just the database's errors.
  11. 663| catch (Exception $e) {
  12. > 664| throw new QueryException(
  13. 665| $query, $this->prepareBindings($bindings), $e
  14. 666| );
  15. 667| }
  16. 668|
  17.  
  18. Exception trace:
  19.  
  20. 1 PDOException::("SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES)")
  21. C:\xampp\htdocs\lex\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70
  22.  
  23. 2 PDO::__construct("mysql:host=127.0.0.1;port=3306;dbname=homestead", "homestead", "secret", [])
  24. C:\xampp\htdocs\lex\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70
  25.  
  26. Please use the argument -v to see more details.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement