Installation and configuration iussues
Moderators: macek, egami, gesf
by mohdali1 » Mon Mar 03, 2003 10:06 pm
I recently installed mysql database from redhat linux 7.2 distribution in form of RPM package but when I tried to connect the test database using
mysql -utest
The following error message displayed:
Error 2002:
Can't connect to local mysql server through socket "/var/lib/mysql/mysql.sock" (111)
If anyone knows please help me solve the problem
Regards
Muhammad Ali
-
mohdali1
- New php-forum User

-
- Posts: 10
- Joined: Mon Mar 03, 2003 9:32 pm
by Redcircle » Tue Mar 04, 2003 11:44 am
you have to load the daemon first.
/usr/local/mysql/bin/safe_mysqld &
-

Redcircle
- Moderator

-
- Posts: 830
- Joined: Tue Jan 21, 2003 10:42 pm
- Location: Michigan USA
-
by mohdali1 » Wed Mar 05, 2003 9:41 pm
Thanks for your reply.
I tried to load the daemon and it started successfully but I received the same error when connect to test database through
mysql -utest
Would u please explain me the purpose of "/var/lib/mysql/mysql.sock" file or any other suggestions.
Regards
Muhammad Ali
-
mohdali1
- New php-forum User

-
- Posts: 10
- Joined: Mon Mar 03, 2003 9:32 pm
by mohdali1 » Fri Mar 07, 2003 3:44 am
I download the binary distribution and install mysql again now it works fine.
Regards
Muhammad Ali
-
mohdali1
- New php-forum User

-
- Posts: 10
- Joined: Mon Mar 03, 2003 9:32 pm
Return to MySQL Installation
Who is online
Users browsing this forum: No registered users and 1 guest