It is currently Tue Mar 19, 2024 8:21 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: MySQL error
PostPosted: Tue Dec 20, 2011 11:54 pm 
Noobie
Noobie

Joined: Thu Aug 02, 2007 7:57 pm
Posts: 35
Location: Finland
Hi, I've just created a MySQL db and my script has caught this error...
Quote:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
I googled around for the error and someone seems to think it's to do with having no mysql server running on localhost.

Could someone advise what to do?

Thanks.


Top
 Profile  
 
 Post subject: Re: MySQL error
PostPosted: Wed Dec 21, 2011 5:18 am 
Site Admin
Site Admin

Joined: Sun Jun 05, 2011 6:17 pm
Posts: 8
Hello,

According to the error message most probably the script is not properly configured. Please make sure that you use the correct MySQL details. You could always open a trouble ticket through your hosting account and we will provide you with the correct details there.

Best Regards,
Jimmy


Top
 Profile  
 
 Post subject: Re: MySQL error
PostPosted: Wed Dec 21, 2011 9:07 am 
Noobie
Noobie

Joined: Thu Aug 02, 2007 7:57 pm
Posts: 35
Location: Finland
ok, I'll look through it again before I do though. I don't usually have problems with MySQL, but maybe I missed something.


Top
 Profile  
 
 Post subject: Re: MySQL error
PostPosted: Wed Dec 21, 2011 9:19 am 
Noobie
Noobie

Joined: Thu Aug 02, 2007 7:57 pm
Posts: 35
Location: Finland
Ah, ok. Just realised 100WS doesn't use localhost for the db host name. I seem to recall it did a several years ago.

Works ok now. :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ]  Moderators: fhmagic, KJ, Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
100WebSpace © 2011