I'm using command "php artisan migrate" but it shows error as Access denied for user, My all migrations have been created successfully but they are unable to migrate in localhost phpmyadmin?
In comand promt I successfully created migrations but they are unable to migrate in localhost phpmyadmin, I have tried all configration settings but it doesn't work.
In Connection.php line 647:
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO) (SQL: select * from informati on_schema.tables where table_schema = Blog and table_name = migrations)
In Connector.php line 68:
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
php artisan tinker
then typeconfig('database')
do the output shows your right database credentials? – Elias Soares