FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » MySQL problem after updates
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: MySQL problem after updates [message #883 is a reply to message #882] Wed, 06 March 2002 15:53 Go to previous messageGo to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma:
Senior Member
Administrator
Core Developer
fjrohlf wrote on Wed, 06 March 2002 10:45 AM


Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /var/www/forumdata/include/db.inc on line 26



This problems occures because php cannot establish a connection to mysql via a unix socket.

Here is what you can do:

1) Check if /tmp/mysql.sock exists, if it does not try seeing where "mysql.sock" file can be found and once you do change your "Mysql Server" option to reflect the different path.

2) If the file is there, try seeing if you can connect manually to mysql using it:
ex: mysql -S/tmp/mysql.sock -uyour_user_name -pyour_password
If that does not work, check your MySQL settings.

3) If you are able to connect in step #2 check your MySQL permissions.

You can also try changing the "Mysql Server" variable to say "127.0.0.1" and seeing if that would fix your problem.


FUDforum Core Developer
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon7.gif
Read Message
Read Message icon7.gif
Read Message
Read Message
Read Message icon7.gif
Previous Topic: fudforum in zip format
Next Topic: help removing files....
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 22:59:11 GMT 2024

Total time taken to generate the page: 0.04117 seconds