📜  mysql 更改 root mysql_native_password - SQL 代码示例

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

代码示例1
UPDATE
    mysql.user
SET
    plugin = 'mysql_native_password', 
    Password = PASSWORD('')
WHERE
    User = 'root';