Jump to content

[SOLVED] mysql trouble


sgtb06

Recommended Posts

Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2)

 

 

Hello,just wanted to see iy anyone knew what this is.I am insatalling pro bid,and this keeps popping up.I opened up the install a few times,but i cant find anything.Guess i am missing it.I am a bit knew to php so go easy on me.Been at it for 2 days now trying to figure it out.but now it seems i hit a brick wall.

 

thanks

          sgtb

Link to comment
https://forums.phpfreaks.com/topic/99991-solved-mysql-trouble/
Share on other sites

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2) in /home/content/d/a/f/dafunzone/html/config/config.php on line 7

Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2)

 

heres a bit more info...this is why i believe its a php problem.This pops up on the web site.along with whats in the top post.

 

 

                                      thanks

                                            sgtb

Link to comment
https://forums.phpfreaks.com/topic/99991-solved-mysql-trouble/#findComment-511351
Share on other sites

well it turned out to be a simple mistake,thought i would just let you know..it turns out when the site name was added,an xtra .com was added also.wasnt in the script at all.

 

                      thanks again

                                    sgtb

Link to comment
https://forums.phpfreaks.com/topic/99991-solved-mysql-trouble/#findComment-515280
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.