1. docker pull mysql/mysql-server:5.7
    2. docker run -p 3306:3306 --name mysql -v /usr/mydata/mysql/log:/var/log/mysql -v /usr/mydata/mysql/data:/var/lib/mysql -v /usr/mydata/mysql/conf:/etc/mysql/conf.d -e MYSQL_ROOT_PASSWORD=123456 -d mysql/mysql-server:5.7
    3. docker run -p 3306:3306 --name mysql -e MYSQL_ROOT_PASSWORD=123456 -d mysql/mysql-server:5.7
    1. mysql -u root -p
    2. use mysql;
    3. update user set Host='%' where User='root';
    4. -- ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '123456';
    5. flush privileges;