I've imported my databases on the server and I want to access them locally. The problem is I cannot. I mean the server doesn't response to my request.
I've added root
to having access to "mydb" user list and I've given (granted) all privileges to it. Also I've commented bind_address
in my.conf
file and then I've restarted the mysql.
Still when I run this command:
telnet <ip> 3306
No response received.
Any idea how can I make a connection between my local and the database on the server?
mysql -u fooUser -p -h <IP_ADD>
ERROR 2013 (HY000): Lost connection to MySQL server at 'waiting for initial communication packet', system error: 2 "No such file or directory"