注:192.168.1.203机器上装有docker,容器在该机器上
mysql> use mysql;
mysql> update user set authentication_string = password('') where user = 'root';
mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'' WITH GRANT OPTION;
mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'' WITH GRANT OPTION;
注:创建好库以后需要退出一下workbench再进入时就能看到新建的库
每天努力一点点,微笑哥每天与你同在 QQ:2775147135