Otispup Posted March 5, 2008 Posted March 5, 2008 I get the following error when I try to run the index.php file - Warning: mysql_connect() [function.mysql-connect]: Host '192.168.2.4' is not allowed to connect to this MySQL server in C:\Program Files\Apache Group\Apache2\htdocs\catalog\includes\functions\database.php on line 19 Unable to connect to database server! I only get this error if I am physically connected to the internet with my ethernet cable. If I unplug the cable, I can run index.php with no problem. Can someone please tell me how to fix this? Thanks.
♥geoffreywalton Posted March 5, 2008 Posted March 5, 2008 Try changing 192.168.2.4 to localhost in /admin/includes/configure.php and /includes/configure.php Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.