#1 2008-02-26 16:07:54

benney50
Member
RankingRanking
Registered: 2007-07-23
Posts: 15
Reputation :  [+ 0/ -0 ]
Expertise

Unable to connect to my sql server

Hi,

My forum has been functioning great but I got the following error message today

Error: Unable to connect to MySQL server. MySQL reported: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2).

Can anyone help?

The web address for the forum is http://www.priceform.com/forum/index.php

Thanks in advance

Patrick smiley-smile

Offline

 

#2 2008-02-27 00:26:56

Rambosko
Member
RankingRanking
Registered: 2006-07-15
Posts: 36
Reputation :  [+ 1/ -0 ]
Expertise

Re: Unable to connect to my sql server

Check & Repair database in phpmyadmin.

To repair database:
Use SQL command :  repair table table_name;

Offline

 

#3 2008-02-27 01:35:44

benney50
Member
RankingRanking
Registered: 2007-07-23
Posts: 15
Reputation :  [+ 0/ -0 ]
Expertise

Re: Unable to connect to my sql server

Rambosko wrote:

Check & Repair database in phpmyadmin.

To repair database:
Use SQL command :  repair table table_name;

Hi,

Many thanks for your reply.

I am a real newbie to this. Where do I find Check & Repair database in phpmyadmin and where do I use the command repair table table_name; ?

Thanks for your patience!

Regards

Patrick

Offline

 

#4 2008-02-27 06:58:41

benney50
Member
RankingRanking
Registered: 2007-07-23
Posts: 15
Reputation :  [+ 0/ -0 ]
Expertise

Re: Unable to connect to my sql server

Hi smiley-smile

Managed to get it sorted.

Many thanks smiley-smile

Offline

 

#5 2008-02-27 21:24:10

Rambosko
Member
RankingRanking
Registered: 2006-07-15
Posts: 36
Reputation :  [+ 1/ -0 ]
Expertise

Re: Unable to connect to my sql server

Now Its working with dynamic url mode like:
http://www.priceform.com/forum/login.php
http://www.priceform.com/forum/register.php

Now You need to enable mod_rewrite on server. Please contact your hosting provider to enable it.

Please read :
http://www.wwwthreads.com/forum/t90-sol … -link.html

Offline

 

#6 2008-02-28 00:27:07

benney50
Member
RankingRanking
Registered: 2007-07-23
Posts: 15
Reputation :  [+ 0/ -0 ]
Expertise

Re: Unable to connect to my sql server

Rambosko wrote:

Now Its working with dynamic url mode like:
http://www.priceform.com/forum/login.php
http://www.priceform.com/forum/register.php

Now You need to enable mod_rewrite on server. Please contact your hosting provider to enable it.

Please read :
http://www.wwwthreads.com/forum/t90-sol … -link.html

Hi Rambosko smiley-smile

That was my next question!

Many thanks smiley-smile smiley-smile

Regards

Patrick

Offline

 

Board footer

OPML feedsRSS feeds



Powered by WWWThreads Forum
© Copyright 2006, WWWThreads