MySQL 服务器正在使用 --skip-grant-tables 选项运行,因此无法执行此语句

问题描述 投票:0回答:0

mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'xxx'; ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement

我尝试过这样的:

mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)

mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'veisddq';
ERROR 1524 (HY000): Plugin 'auth_socket' is not loaded

操作系统:Debian 10 MySQL:8.0.33

我想知道如何设置mysql root密码

mysql debian root
© www.soinside.com 2019 - 2024. All rights reserved.