The docker mysql error Can 't connect to local mysql server through socket'/var/run/mysql,
Then service mysql start can start but if you don't turn off (service mysql stop), directly out of container is card dead,
Before use is good, after entering the container, landing directly mysql - uroot - p line,
Consult!!!!!!