📜  如何在没有root的情况下访问mysql - SQL代码示例

📅  最后修改于: 2022-03-11 15:05:18.997000             🧑  作者: Mango

代码示例1
mysql > ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '';
mysql > FLUSH PRIVILEGES;