MariaDB root 賬戶(hù)默認(rèn)使用了 UNIX_SOCKET 插件,只允許 root 用戶(hù)連接,無(wú)需密碼。
可以使用 root 用戶(hù)連接后創(chuàng)建新用戶(hù)或者執(zhí)行:
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://m.shnenglu.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
posted on 2017-12-30 16:04
聶文龍 閱讀(822)
評(píng)論(0) 編輯 收藏 引用