sgtb06 Posted April 7, 2008 Share Posted April 7, 2008 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 More sharing options...
sgtb06 Posted April 7, 2008 Author Share Posted April 7, 2008 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 More sharing options...
Caesar Posted April 7, 2008 Share Posted April 7, 2008 If that software came with a config file, you'll want to verify what you put in there. It's currently not able to connect using the information you provided. Link to comment https://forums.phpfreaks.com/topic/99991-solved-mysql-trouble/#findComment-511354 Share on other sites More sharing options...
sgtb06 Posted April 11, 2008 Author Share Posted April 11, 2008 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.