US&Canada Toll Free:
1-800-224-1462
Mon. – Fri.
(for sales and general questions only)
Translate Page To German Tranlate Page To Spanish Translate Page To French Translate Page To Italian Translate Page To Japanese Translate Page To Korean Translate Page To Portuguese Translate Page To Chinese Translate Page To Russian Translate Page To Dutch
Store Manager for osCommerce
 
Store Manager for osCommerce Benefis
  • Complete and Most Effective Product Management
  • Much Easier Order Management
  • Powerful and Quick Reporting
  • Intuitive, User-Friendly Interface
  • Get Started in Minutes more...

Get Primary License for Store Manager for Translation for Free!
30 Days Money Back Guarantee!



See Store Managers for other carts:


Follow Us on Twitter

Direct Database Connection Settings

osCommerce Direct Database Connection Settings

We recommend you to read our full updated documentation for Store Manager for osCommerce here

Store Manager for osCommerce requires direct MySQL database connection. Most of hosting companies allow direct connections to MySQL database. However in most cases you have to go to your control panel and add your home/office computer IP address or domain name to Access List - list of IP addresses allowed to access MySQL port 3306 from outside. This option can be found under MySQL settings.

Feel free to ask your hosting support to assist you in enabling direct MySQL access, they must help you since it is trivial task.

To configure osCommerce database connection to your remote database, follow few steps:

1. Open Tools -> Preferences -> Database connection

2. Enable Direct connection to remote database check-box

osCommerce Database connection

3. Specify the following Remote osCommerce Database Connection Settings:

  •  Host (Server address) - Usually it is your website name like "mywebsite.com" (do not include http://www. prefix); you may use IP address as well. Please check your store server parameters (see configure.php or config.php, most likely you can find it at your store /includes directory). At the bottom can find your database server name (host).

 


define('DB_SERVER', 'localhost');

If any is defined here (like 'http://www.servername.com'), you should use this one (servername.com).
If it is defined as 'localhost', it means you should use your server name. Your server name is defined in configure.php or config.php at the top:

      define('HTTP_SERVER', 'http://www.mywebsite.com');

  • Port - 3306 is used in most cases (please ask your hosting provider to check if the one is used).
  • MySQL Version - Most of hosting companies have 4.1 or 4.0 and some of them have 5.x version. You can use Auto if you're not sure which one is used.
  • User name (login)Password and Database (name) - Specify your username, password and database name. You can find them at the bottom of configure.php or config.php file:

 

define('DB_SERVER_USERNAME', 'admin');           //here your User Name (login) is defined
define('DB_SERVER_PASSWORD', '123456');        //here your password is defined
define('DB_DATABASE', 'database_name');         //here your database name is defined
Also you may type database name manually or use browse button  to see the list of available databases and select the one you need from the drop-down.
Tip: Use the Test Connection button to verify if all settings are correct and connection to your remote database is possible.

4. Click Ok to save this entry, close Prefeences and to connect to your database, or click cancel to discard this entry.
 
Also you can use Database Connection Wizard to setup your connection or make Database backup/Restore selecting the corresponding actions from the drop-down.
 
osCommerce Database connection

If you're unable to connect to remote database, here are few key items to check. 
If you got "SQL ERROR: Access denied for user 'admin'@'194.187.228.147' (using Password: YES)" notification (where 'admin' is your username and '194.187.228.147' is your IP) you have to add your IP address to the Access List and allow direct MySQL connections. Please see an article to find out how to add your IP to the Access List.

osCommerce Database connection

 

Please see our troubleshooter at support.magneticone.com under Troubleshooter >> Configure osCommerce Database Connection to get a step-by-step assistance.