I installed MySQL on a linux system. I have running Debian. I can access mysql with local ip address through command on local system as well as remotly
./mysql -h 192.168.1.151 -u root -pabcd
. Now I added a host(192.168.1.152), and I can not use AddedHost to connect remotely from other machine, i have given all privileges to this host as
grant all on *.* to 'root'@'192.168.1.152' identified by 'abcd';
but i failed to connect locally as well as remotly.
i got the error when i execute command
./mysql -h 192.168.1.152 -u root -pabcd
error 2003 (hy000) can’t connect to mysql server on ‘192.168.1.152’ (111)
please help me out to sort out this issue.
Thanks
Rahul
This error means, from here(FAQ)-