docker pull mysql5.7
docker run -p 3306:3306
--name mymysql
-v PWD/logs:/logs
-v $PWD/data:/mysql_data
-e MYSQL_ROOT_PASSWORD=123456
-v /etc/localtime:/etc/localtime:ro
-d mysql:5.7
--lower_case_table_names=1
docker pull mysql5.7
docker run -p 3306:3306
--name mymysql
-v PWD/logs:/logs
-v $PWD/data:/mysql_data
-e MYSQL_ROOT_PASSWORD=123456
-v /etc/localtime:/etc/localtime:ro
-d mysql:5.7
--lower_case_table_names=1