MySQLのパスワード設定

参考:

https://blog.csdn.net/Light_Breeze/article/details/82070222

https://www.jianshu.com/p/d979df2791e9

#使用mysqlの。
 
(バージョンなしパスワードフィールド)
#更新ユーザセットauthentication_string = PASSWORD( "密码")ユーザ= 'ルート'。
(パスワードフィールドのバージョンがあります)
#更新ユーザ設定パスワード=パスワード(「密码」)ユーザ=「ルート」; 
 
#更新ユーザ設定プラグイン=「mysql_native_password」。
 
#フラッシュ権限;
 
# 終了する;

 

おすすめ

転載: www.cnblogs.com/flypig666/p/11742889.html