Hey all,
I'm pretty new to this program. I've received this error
"mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '3306' (2) when trying to connect"
I'm using Gentoo kernel 2.6.15-r1
I have the SOCKET parameter set to '3306'
Can anyone help me with the problem, thank you in advance..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey all,
I'm pretty new to this program. I've received this error
"mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '3306' (2) when trying to connect"
I'm using Gentoo kernel 2.6.15-r1
I have the SOCKET parameter set to '3306'
Can anyone help me with the problem, thank you in advance..
You are confusing sockets and ports.. :)
Mysql works of TCP port 3306.. This is NOT the socket..
Try leaving the SOCKET= parameter blank.. It should work by default without needing to set the socket at all..