Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Transferring Site Errors


superej

Recommended Posts

Posted

I am attempting to transfer my shopping cart to a new domain.

 

I ftp'd the site, I copied the db and reinstalled. I can log into phpMyAdmin and the contents of the site are there so I know that portion worked. I used the same username and password as the original site but I keep getting the following error.

 

Warning: mysql_connect(): Access denied for user 'superej_osc1'@'localhost' (using password: YES) in /home/superej/public_html/cart/includes/functions/database.php on line 19
Unable to connect to database server!

 

 

I have tried everything I can think of to get this to work. I did a copy of the site in my WHM and that didn't help. Is the problem related to the domain name?

Posted

If you have moved the site from one server to another you need to update the username, database name and password for the new mysql server - your new host may not be using localhost as the database server - check with them.

 

Tom

Posted

I checked and the new host is using "localhost" and the username and password is exactly the same. Still not sure why I am getting this error. It isn't DN related is it?

Posted
I checked and the new host is using "localhost" and the username and password is exactly the same. Still not sure why I am getting this error. It isn't DN related is it?

 

see PM

Regards

 

Mark A Reynolds

Posted

I'm having exactly the same error after my site was transferred to secure server by the ISP. I can see the files and they are using localhost, but I get the following error:

 

Warning: mysql_connect(): Access denied for user: 'firecrys_store@localhost' (Using password: YES) in /home/firecrys/public_html/store/includes/functions/database.php on line 19

Unable to connect to database server!

 

I have checked and the passwords have not changed. Help would be appreciated. Thank you.

Archived

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

×
×
  • Create New...