fmPreferences - fmDirectConnection
Store Manager requires direct MySQL database connection. The majority of hosting companies allow direct connections to MySQL database. However, very often you have to go to your control panel and add your home/office computer IP address or domain name to Access List . Access list is the list of IP addresses, which allows 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. Since it is a common task you are supposed to get help without any problems.
To configure direct connection to your remote database, follow a few steps:
1. Open Settings -> Preferences -> Database connection
3. Specify the following Remote Database Connection Settings:
If database server name (host) 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('DB_SERVER_USERNAME', 'login'); //here your User Name (login) is defined
define('DB_SERVER_PASSWORD', '123456'); //here your password is defined
define('DB_DATABASE', 'remote_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 whether the connection to your remote database is possible.
4. Click Ok to save this entry, close Preferences and 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 by selecting the corresponding actions:
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 'login'@'184.108.40.206' (using Password: YES)" notification (where 'admin' is your username and '220.127.116.11' 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.
1. Quick Start Guide >