I have searched and seen a lot of questions and answers for this error but none of them worked for me.
I have my MySQL in my laptop via Xampp and wanted to connect my Raspberry Pi to it using a direct LAN connection (ethernet cable). Whenever I enter mysql -u root -p -h 192.168.1.47
on my Raspberry pi, after typing my password, there is a long pause, then the error ERROR 2003 (HY000): Can't connect to MySQL server (110)
shows up. Any help please? If you need more information, just ask and tell me what commands to input to show them, I'm still a beginner.
Also, I have commented the bind-address
in the my.cnf but still have this error.