Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

MySQL changin IP Address - what now?


Guest

Recommended Posts

My current web hosting provider on which I use OSCommerce, sent me an email stating they are changing to a new MySQL server with a new IP address. Is there anything I need to change in OSCommerce??

Link to comment
Share on other sites

My current web hosting provider on which I use OSCommerce, sent me an email stating they are changing to a new MySQL server with a new IP address. Is there anything I need to change in OSCommerce??

 

Yes - this must be changed in the two configure.php files (one in ../catalog/includes/configure.php and one in your admin folder ../includes/configure.php). Find and change this line -

 

define('DB_SERVER', 'your_mysql_IP_address_here');

 

If your hosting provider has setup a DNS name for the mysql server, such as mysql.hostdomain.com, you could put this in instead, then no matter what he changes the IP address to, your configuration will always point to the proper server, once he updates the IP address in the DNS name.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...