Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] mysql problem



This may be old information, but it at USED TO be the case that:
- mysql could be configured to listen on a socket or listen to a IP
address and port.
- mysql, as shipped, would only respond to localhost

I would check that in the configuration.

You might also want to try "mysql -h localhost" to try to connect over
IP instead of socket.

On 11/04/2014 03:28 PM, dan moylan wrote:
> running fedora 20 on acer aspireone.  installed mysql as
> follows:
>
>   sudo yum install mysql
>   sudo yum install mysql-community-server
>   sudo mysql_install_db
>
> when i try to run it:
>
> moylan ~[1023] mysql
>
> ERROR 2002 (HY000): Can't connect to local MySQL server
> through socket '/var/lib/mysql/mysql.sock' (2)
>
> what have i missed?
>
> tia,
> ole dan
>
> j. daniel moylan
> 84 harvard ave
> brookline, ma 02446-6202
> 617-777-0207 (cel)
> jdm at moylan.us
> www.moylan.us
> [avoid html waste.]
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://lists.blu.org/mailman/listinfo/discuss




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org