How to exit MySQL safe mode?

I stupidly tried MySQL_update as I am having problems granting permissions for remote ips, but I went into safe mode with / usr / bin / mysqld _safe --skip-grant-tables

and now I can’t get out of it

enter image description here

How can I get out of this safe mode

+9
source share
2 answers

First, your last command did not end, so enter ;to complete the current command. Then you can continue, including the following, to completely close mysql.

Just use the following command / keys.

Hold CTRL and press X or Z

+12
source

CTRL + Z mysqld_safe, fg. mysqld_safe, mysqladmin -u root -p shutdown CTRL + Z

+3

Source: https://habr.com/ru/post/1569814/


All Articles