Quote:
Originally Posted by Marco van Herwaarden
Can you please verify with your host that the MySQL user & password are correct. The error message you get now indicates the wrong user or password, or the user does not have permision to the database.
|
Yes, the user and password are correct.
I get the same error when trying to connect to a database via ssh if I don't include the socket. But if I do include the socket then it connects properly.
Quote:
Originally Posted by Marco van Herwaarden
You can also give the following a try:
PHP Code:
$config['MasterServer']['servername'] = '127.0.0.1'; $config['MasterServer']['port'] = '3316';
Edit: Are you using MySQL or MySQLi?
|
I'm using MySQL.
On trying those details I get the following error:
Quote:
mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111
/homepages/x/dxxxxxxxxx/htdocs/forum/includes/class_core.php on line 311
|