Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Migrating site to a new server


coelroy

Recommended Posts

Posted

Hi

 

I need some assistance please.

 

My host moved my website to a new server.

 

The files were successfully migrated. My problem that I have is to connect the MySQL database. This is being aggaravated with SEO-G redirecting the script when i try to connect the db.

 

The script I ttry to run is:

 

 

<?php

$dbhost = "localhost";

$dbuser = "XXXXXX";

$dbpass = "XXXXXX";

$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');

$dbname = 'XXXXXX1';

mysql_select_db($dbname);

?>

 

How can I get passed SEO-G in oder not to be directed to dynamic sitemap?

 

thank you in advance.

 

Regards

 

Elroy

Posted

try to put the IP address instead of localhost

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Archived

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

×
×
  • Create New...