docker run -p 3306:3306 –name mysql -v //home/docker_data/mysql/conf/my.cnf:/etc/mysql/my.cnf -v /home/docker_data/mysql/logs:/var/log/mysql -v /home/docker_data/mysql/data:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=sxhdrJ%f405Q91T -d mysql:5.7

Leave a Reply

电子邮件地址不会被公开。 必填项已用*标注