MariaDB root 賬戶默認使用了 UNIX_SOCKET 插件,只允許 root 用戶連接,無需密碼。
可以使用 root 用戶連接后創建新用戶或者執行:
update mysql.user set plugin = '' where User='root';
flush privileges;
or
update mysql.user set plugin = 'mysql_native_password' where User='root';
flush privileges;
@import url(http://www.shnenglu.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
posted on 2017-12-30 16:04
聶文龍 閱讀(823)
評論(0) 編輯 收藏 引用