18.04 set mysql password

Ubuntu
回覆文章
yehlu
Site Admin
文章: 3244
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

18.04 set mysql password

文章 yehlu »

mysql> use mysql

UPDATE user SET plugin='mysql_native_password' WHERE User='root';
UPDATE mysql.user SET authentication_string=PASSWORD('password') WHERE USER='root';
FLUSH PRIVILEGES;
回覆文章

回到「Ubuntu」