Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cannot connect to Database


theinkjetmarket

Recommended Posts

Posted

Hi

I have just set up a new laptop using the tutorial

 

http://www.expertsrt.com/tutorials/Matt/install-apache.html

 

I have also turne register globals On as I am using PHP5

 

I have moved my site into htdocs and my database into MYSQL/DATA

 

I have changed the config files (2 off) to reflect the new path names on the new laptop.

 

I now get the following error when I call up my home page I get the following error message:

 

Warning: mysql_pconnect() [function.mysql-pconnect]: Host 'Laptop' is not allowed to connect to this MySQL server in C:\Web\WebServer\Apache2\htdocs\catalog\includes\functions\database.php on line 17

Unable to connect to database server!

 

Can anyone help me?

 

Many Thanks

Garry

Archived

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

×
×
  • Create New...