chabgood said over 7 years ago on Intro to Docker on Windows :

I am getting this error:

#<Mysql2::Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)>