Mweb MySQL hostname

Tachyon

Well-Known Member
Joined
Dec 5, 2010
Messages
123
Reaction score
7
Location
Inner Space
Am almost complete setting up a wordpress installation. This is the first time I've gone with Mweb and figure this is probably the final hurdle. A lady in technical support suggested I use this:

/** MySQL hostname */
define('DB_HOST', 'cpanel2.mweb.co.za');

but that just shoots out the following error:

Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at cpanel2.mweb.co.za. This could mean your host's database server is down.

Waiting on webhosting support to get back to me but thought I would post here in the meantime in case any1 knows.
 
Try:
define('DB_HOST', 'localhost');

I would find it very strange if they run their MySQL server on a different host without documenting it properly.

Otherwise goto https://cpanel2.mweb.co.za:2083/ and see if you can find the MySQL hostname there...
 
Top
Sign up to the MyBroadband newsletter
X