|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (7 bit)
Join Date: May 2004
Posts: 103
|
Mysql Help
I am running fedora core 3 and have mysql installed but cannot connect. When the computer boots the mysql service starts but "mysql has ended" displays almost immediately afterward. If I manually start it I get the error could not connect to the database using the port in mysql.socket(111)
What do I have to do to get it to connect? Thanks in advance, shaticus |
|
|
|
|
|
#2 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
The general problem is that mysql doesn't have write permission in the tmp directory. Chmod the tmp directory to 777 (RWX-owner, RWX-group, RWX-anybody).
|
|
|
|
|
|
#3 |
|
Member (7 bit)
Join Date: May 2004
Posts: 103
|
I gave that a try but still get the same error.
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) Thanks, Shaticus |
|
|
|
|
|
#4 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
You might look at this article on the MySQL site for help.
|
|
|
|
|
|
#5 | |
|
Member (8 bit)
|
Quote:
Code:
ln -s /tmp/mysql.sock /var/lib/mysql/mysql.sock -neo |
|
|
|
|
|
|
#6 |
|
Member (7 bit)
Join Date: May 2004
Posts: 103
|
Thanks for the quick responses. I appoligize for not getting back here sooner but I have been bogged down between work and college.
Read through the article but could not get it working. I created the link to the file but it still will not connect. Only other thing I can think to try would be a reinstall of mysql. Thanks, Shaticus Last edited by shaticus; 06-09-2005 at 05:55 AM. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|