Error 2002 (HY000) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

Gleb Paharenko gpaharenko at gmail.com
Mon Feb 19 11:20:22 UTC 2007


Hi!

Have a look here:
http://dev.mysql.com/doc/refman/5.0/en/can-not-connect-to-server.html


Rajen Jani (BT Yahoo! Broadband) пишет:
> Hi  everyone,
>
>           I have installed mySQL server 5.0.27 from the ports directory.
> Everytime I connect to it using
> "mysql -h localhost -u rajen -p" I get the above error. I have no idea
> as to how I can resolve this
> problem. I have tried telneting localhost and it says that the
> connection is refused. Please suggest
> how I can get around this, Thanks.
>
> Regards,
>
>
> Rajen
> _______________________________________________
> freebsd-database at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-database
> To unsubscribe, send any mail to "freebsd-database-unsubscribe at freebsd.org"
>   


-- 
Gleb Paharenko
gleban at mail.ru



More information about the freebsd-database mailing list