Install redash through docker. how can i connect mysql on the localhost

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?

What is your host value in the Redash data source settings?