Answers for "docker ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (61)"

SQL
0

docker ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (61)

# 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
Posted by: Guest on June-04-2020

Code answers related to "docker ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (61)"

Code answers related to "SQL"

Browse Popular Code Answers by Language