注: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 'roo
转自:http://blog.csdn.net/daocaoren92wq/article/details/68484049$ docker pull mysql docker@default:~$ docker pull mysql Using default tag: latest latest: Pulling from library/mysql 6d827a3ef358: Pull complete ed0929eb7dfe: Pull complete 03f348dc3b9d: P