Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

database in another server?


Recommended Posts

My setup is load catalog folder in hosting company A.

setup database with hosting company B.


then I go to www.hosting-company-A.com/catalog/install

I entered database infomation from hosting company B


The error message returned is:

Can't connect to MySQL server on 'mysql.hosting-company-B.net' (4)


Is it a possible thing to do?

Link to comment
Share on other sites

Is your catalog section working? You didn't post a URL. If you catalog section is working, take your database information from catalog/includes/configure.php and compare it to your database info (near or at the bottom) of your catalog/admin/includes/configure.php. Just change it ... copy and paste the entire section to match.


Especially on Windows servers, often the catalog/admin/includes/configure.php file doesn't get any info written on it at all.


Also make sure that there is no configure.php file in any "local" folder. So if you have a folder in your catalog/admin/local section, make sure there is no configure.php in this folder.


Good luck.



Simple 1-2-3 Intructions on how to get, install and configure SSL


The Google Sandbox explained


Simple to follow instructions on how to change the look of your OSC


How To Make A Horrible OSC Website


my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP


my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

Link to comment
Share on other sites

it worked like charm. thanks


Sorry it's now not working.


I must put the database in the same server as catalog to install. otherwise it cannot intall.

After install I tried to change catalog/include/configure.php and catalog/admin/include/configure.php to another database. but it cannot work. website stucked.

Link to comment
Share on other sites


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

  • Create New...