Previous Thread
Next Thread
Print Thread
Hop To
#21211 07/31/2001 5:39 PM
Anonymous
Unregistered
Anonymous
Unregistered
I am having a little problem connecting to my db. I get this err_

Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) in /home/power/public_html/forum/mysql.inc.php on line 27
Seeya! :

I have tried to figure this out myself...but I'm sort of a newb to mysql. help?
-disciple51

#21212 08/01/2001 1:09 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Normally whenever I've seen this error the mysql server needs to be restarted. If this is your server then you can use mysqladmin shutdown and then run safe_mysqld to get it started again. If you are on a hosted server you will need to notify your host about this.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Nightcrawler), 639 guests, and 217 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)