docker搭建MySQL8.0沒法遠程鏈接

docker exec -it mysql bash mysql -uroot -p123456-abc select host, user, authentication_string, plugin from user; 我👎,居然有兩個root,可能在形成衝突。先刪除 host="%'的root帳戶。畢竟不知道它的密碼是什麼,由於兩個密碼不一致。因此保留了localhost的root。my
相關文章
相關標籤/搜索