📌  相关文章
📜  docker ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (61) - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:00.300000             🧑  作者: Mango

代码示例1
# This seems to work... Your milage may vary...

% docker run --rm -d -e MYSQL_ROOT_PASSWORD=pass -p 3325:3306 --name mysql_test mysql:5.7

% mysql -uroot -ppass -h127.0.0.1 -P3325