进入 mysql5.7 容器
sudo docker exec -it mysql5.7 bash mysql -uroot -p123456
创建用户,密码随意
mysql> create user '239239'@'%' identified by '123456'; mysql> grant all privileges on *.* to '239239'@'%' with grant option; mysql> flush privileges;
创建数据库
mysql> create database 239239;