docker安装mysql
docker run --name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456-v /var/lib/arangodb3/mysql:/var/lib/mysql -v /etc/mysql/my.cnf:/etc/my.cnf -d mysql:5.6.35
docker exec -it mysql bash
mysql -uroot -p
create database mydb;
grant select,insert,update,delete,create,drop,grant option,references,index,alter on . to mydb@"%" identified by "mydb";
grant select,insert,update,delete,create,drop,grant option,references,index,alter on . to mydb@"localhost" identified by "mydb";
flush privileges;