Fatal Error in Gdn_Database.Connection();

An error occurred while attempting to connect to the database

SQLSTATE[HY000] [2005] Unknown MySQL server host 'mysql5-1.perso' (2)

The error occurred on or near: /home/unitedre/www/forum/library/database/class.database.php

56:             $this->_Connection = new PDO(strtolower($this->Engine) . ':' . $this->Dsn, $this->User, $this->Password, $this->ConnectionOptions);
57:             if($this->ConnectionOptions[1002])
58:                $this->Query($this->ConnectionOptions[1002]);
59:          } catch (Exception $ex) {
60:             trigger_error(ErrorMessage('An error occurred while attempting to connect to the database', $this->ClassName, 'Connection', $ex->getMessage()), E_USER_ERROR);
61:          }
62:       }
63:       
64:       return $this->_Connection;

Backtrace:

/home/unitedre/www/forum/library/database/class.database.phpPHP::Gdn_ErrorHandler();
[/home/unitedre/www/forum/library/database/class.database.php:60] PHP::trigger_error();
[/home/unitedre/www/forum/library/database/class.database.php:232] Gdn_Database->Connection();
[/home/unitedre/www/forum/library/database/class.sqldriver.php:1560] Gdn_Database->Query();
[/home/unitedre/www/forum/library/database/class.sqldriver.php:632] Gdn_SQLDriver->Query();
[/home/unitedre/www/forum/applications/dashboard/models/class.permissionmodel.php:368] Gdn_SQLDriver->Get();
[/home/unitedre/www/forum/applications/dashboard/models/class.permissionmodel.php:123] PermissionModel->PermissionColumns();
[/home/unitedre/www/forum/applications/dashboard/models/class.usermodel.php:80] PermissionModel->CachePermissions();
[/home/unitedre/www/forum/library/core/class.session.php:270] UserModel->DefinePermissions();
[/home/unitedre/www/forum/library/core/class.auth.php:27] Gdn_Session->Start();
[/home/unitedre/www/forum/bootstrap.php:170] Gdn_Auth->StartAuthenticator();
[/home/unitedre/www/forum/index.php:28] PHP::require_once();

Variables in local scope:

[ex] array (
  'errorInfo' => NULL,
)

Need Help?

If you are a user of this website, you can report this message to a website administrator.

If you are an administrator of this website, you can get help at the Vanilla Community Forums.

Additional information for support personnel: