Re: Query: Error 2002 Can't connect to local mysql server.

2001-03-23 Thread Gerald Clark
Did you follow the rest of the instructions? Did you create the mysql user? Did you run mysql_install_db --user=mysql ? Did you start the server ? "Foresight Systems Ltd." wrote: > > Dear Sir, > > We are trying to install and configure mysql version .23.32 on Linux Red > Hat 7. > Usinf the con

Re: Query: Error 2002 Can't connect to local mysql server.

2001-03-23 Thread Erik Ahlstrom
First try to find out where you socket is located: # lsof -p {$PID_OF_MYSQL] |grep unix mysqld 1277 root 4u unix 0xcb596580 1712 /var/lib/mysql/mysql.sock And then point to this file in mysql conf file: # more /etc/my.cnf [client] socket=/var/lib/mysql/mysql.sock [mysqld] socket=/var/lib/mysq