SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
(SQL: select * from information_schema.tables where table_schema = laravel_blog and table_name = migrations and table_type = 'BASE TABLE')
This error occurred while trying to migrate from the database to PhpMyAdmin.
My .env file:
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=8889
DB_DATABASE=laravel_blog
DB_USERNAME=root
DB_PASSWORD=root
MAMP start page with MySQL:
Host: localhost
Port: 8889
User: root
Password: root
Socket: /Applications/MAMP/tmp/mysql/mysql.sock
What could be the problem here? P.S. No, clearing the cache / config does not help!