mysql 和 sqlalchemy 的一个测试环境
Mysql:
docker run -itd --name mysql-test -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 mysql
docker exec -it xxx bash
mysql -h localhost -u root -p
如遇到 MySQL——mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not support 这个问题,参考[1]
Ref:
转载请注明出处 http://www.cnblogs.com/mashuai-191/