Answer the question
In order to leave comments, you need to log in
How to start mysql without --skip-grant-tables?
When I run a command to configure MySQL
mysql_secure_installation
Prompts me to change my password? but when you enter it, it says that it cannot because the database works in the --skip-grant-tables mode
Failed! Error: The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement.
Answer the question
In order to leave comments, you need to log in
Is there a skip-grant-tables line in /etc/my.ini?
If it's not there, it might be in /etc/mysql.d/*.
In general, look in /etc/ and comment it out.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question