S
S
svsova2021-01-14 16:58:20
MySQL
svsova, 2021-01-14 16:58:20

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.

I tried to remove / install the database does not help,
60004d1710413258236151.jpeg
I would be grateful for any advice!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
svsova, 2021-01-14
@svsova

Restarting the VPS from the hosting control panel helped

A
Alexey Dmitriev, 2021-01-14
@SignFinder

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 question

Ask a Question

731 491 924 answers to any question