OS: macOS Mojave 10.14.1
Mysql: 5.7 in docker, mapped 3306 port to host port 3306, allowed empty root password
mysql -u root -h 127.0.0.1 could open mysql console.
but mysql mysql://root@127.0.0.1:3306/news
returns 
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
how to connect mysql by second way(mysql mysql://)?
as i want to use pgloader like this: 
pgloader mysql://xx psql://
thanks !
Comments
Post a Comment