mysqli::real_connect(): (HY000/3118): Access denied for user 'root'@'localhost'. Account is locked. #637
Unanswered
Nikolay-Dimitrov-Dimitrov
asked this question in
Q&A
Replies: 1 comment 3 replies
-
in yourCLI mysql -u root -p mysql> SELECT user, host, account_locked FROM mysql.user where user = 'root'; ALTER USER root@localhost ACCOUNT UNLOCK; |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good day
In phpMyAdmin I accidentally pressed on root lock button.
Please assist. I can't enter the database.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions