0

In order to create a database, I run the command in terminal: php artisan migrate

I get this:

SQLSTATE [HY00] [1045] Access denied for user ‘dbuser’@‘localhost’ (using password: YES) (SQL: select * from information_schema.table where table_schema = blog and table_name = migrations) 

I’ve ran the command php artisan config:cache and it was successful but I still can’t seem to configure phpMyAdmin to connect to database? How can I solve this error?

LazyOne
  • 158,824
  • 45
  • 388
  • 391
pinealda
  • 11
  • 4

1 Answers1

0

After making any configuration related changes in .env or to files in config directory,

You need to run:

$ php artisan config:clear
Sapnesh Naik
  • 11,011
  • 7
  • 63
  • 98