Menu

Can't connect to local MySQL server

Joe
2006-04-05
2013-05-29
  • Joe

    Joe - 2006-04-05

    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..

     
    • Harley

      Harley - 2006-04-05

      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..

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.