I install redash on the mac through docker. Mysql also had been installed on the mac. And mysql also allowed any host. I can reference mysql on other host. But when connect mysql,it has some err:"2006, “Connection Test Failed:Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’”. I don’t know why?
This site is in read only mode. Please continue to browse, but replying, likes,
and other actions are disabled for now.
What is your host value in the Redash data source settings?
Changed localhost to host.docker.internal to make it work
Yes that’s the solution I would recommend also 
