Debug School

rakesh kumar
rakesh kumar

Posted on

LINUX:Access denied for user 'root'@'localhost' (using password: YES)

access-denied-for-user-rootlocalhost-using-password
access-denied-for-user-rootlocalhost-using-password

Problem:When I try to login I get an error:

SQLSTATE[HY000] [1045] Access denied
 for user 'root'@'localhost' (using password: YES)
Enter fullscreen mode Exit fullscreen mode

Image description

check .env file and use user name and pwd and open phpmyadmin is open or not using below screenshot
Image description

follow the steps
how to reset sql password
reset-the-mysql-root-password
linuxhow-do-i-set-mysql-environment-variable
reset-the-mysql-root-password

Top comments (0)