📜  mysql 用户集插件 - SQL 代码示例

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

代码示例1
mysql> UPDATE mysql.user SET plugin = 'mysql_native_password', authentication_string = PASSWORD('changeme') WHERE User = 'root';
mysql> FLUSH PRIVILEGES;