Database Connection Issues
23 July 2014
The most common problems, that we have experienced is that clients who design there websites using a WAMP setup often forget to update the database details when uploading the files to our server.
Configuration Files : If you have transferred your domain from your local machine, always make sure that you update the CMS`s config files to use the new database details that we have setup for you.
Example Configs Below :
- Impress Pages (ip_config.php)
define('DB_SERVER', 'mysql.yourdomain.co.za'); // eg, localhost define('DB_USERNAME', 'exampledb'); define('DB_PASSWORD', '***********'); define('DB_DATABASE', 'exampledb'); define('DB_PREF', 'ip_');
- Wordpress (wp-config.php)
/** The name of the database for WordPress */ define('DB_NAME', 'exampledb'); /** MySQL database username */ define('DB_USER', 'exampledb'); /** MySQL database password */ define('DB_PASSWORD', 'password_here'); /** MySQL hostname */ define('DB_HOST', 'mysql.yourdomain.co.za');
- Joomla (configuration.php)
public $dbtype = 'mysqli'; public $host = 'mysql.yourdomain.co.za'; public $user = 'exampledb'; public $password = '*********'; public $db = 'exampledb'; public $dbprefix = 'ijao8_';
- Opencart (config.php)
define('DB_DRIVER', 'mysql'); define('DB_HOSTNAME', 'mysql.yourdomain.co.za'); define('DB_USERNAME', 'exampledb'); define('DB_PASSWORD', '***********'); define('DB_DATABASE', 'exampledb'); define('DB_PREFIX', );
Recent Articles
IMAGINET NOW OFFERING CELL C FIXED WIRELESS
How to get RICA ReadyHow to get ready to RICA
Six Reasons you should not live without Fibre
Limit my TrafficWhy does my ISP Limit or Shape my
What limits you on our email servers at
What is an SSL Certificate and why do I need Trace-routes
Trace Routes and what you need to know
Images-and-wordpressHow to make your wordpress site faster with image optimisation.
Modem Troubleshooting
Window 10 IssuesWindows 10 and what you should know about it.
Why would anyone register an international domain name if they