📜  mariadb mysql root 访问被拒绝 - SQL 代码示例

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

代码示例1
UPDATE mysql.user SET plugin = 'mysql_native_password' WHERE user = 'root' AND plugin = 'unix_socket';
FLUSH PRIVILEGES;