duterimberefbx Posted April 11, 2016 Share Posted April 11, 2016 before Johnny crashed my website and database were working so fine. After the upgrade and Johnny was back online I couldn't access my database using my db.connect files. this is the error i get when I try to connect using the; HOST: localhostusername: *******password: *******database: ******* Warning: mysql_connect(): No such file or directory in /home/********/public_html/db.php on line 6Opps some thing went wrong what could be the problem; Please help!!! Quote Link to comment Share on other sites More sharing options...
wolstech Posted April 11, 2016 Share Posted April 11, 2016 Change localhost to 127.0.0.1 For some reason, localhost doesn't point to localhost anymore Quote Link to comment Share on other sites More sharing options...
duterimberefbx Posted April 11, 2016 Author Share Posted April 11, 2016 thanks for your quick assistance. I did not think about this at all. Keep it up support admin. God bless you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.