As was foretold, we've added advertisements to the forums! If you have questions, or if you encounter any bugs, please visit this thread: https://forums.penny-arcade.com/discussion/240191/forum-advertisement-faq-and-reports-thread/

DB Connectivity issue?

FishmanFishman Sugar and Tea and RumRegistered User regular
I had this pop up about 15 minutes ago:

"An error occurred while attempting to connect to the database" SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 110 LOCATION: /var/www/frontend/library/database/class.database.php > 51: $this->_Connection = new PDO(strtolower($this->Engine) . ':' . $this->Dsn, $this->User, $this->Password, $this->ConnectionOptions); > 52: if($this->ConnectionOptions[1002]) > 53: $this->Query($this->ConnectionOptions[1002]); > 54: } catch (Exception $ex) { >>> 55: trigger_error(ErrorMessage('An error occurred while attempting to connect to the database', $this->ClassName, 'Connection', $ex->getMessage()), E_USER_ERROR); > 56: } > 57: } > 58: > 59: return $this->_Connection; BACKTRACE: [/var/www/frontend/library/database/class.database.php] PHP::Gdn_ErrorHandler(); [/var/www/frontend/library/database/class.database.php 55] PHP::trigger_error(); [/var/www/frontend/library/database/class.database.php 277] Gdn_Database->Connection(); [/var/www/frontend/library/database/class.sqldriver.php 1640] Gdn_Database->Query(); [/var/www/frontend/library/database/class.sqldriver.php 663] Gdn_SQLDriver->Query(); [/var/www/frontend/applications/dashboard/models/class.rolemodel.php 60] Gdn_SQLDriver->Get(); [/var/www/frontend/applications/dashboard/models/class.rolemodel.php 70] RoleModel->Get(); [/var/www/frontend/plugins/RoleProtect/class.roleprotect.plugin.php 35] RoleModel->GetArray(); [/var/www/frontend/library/core/class.pluginmanager.php 518] RoleProtectPlugin->__construct(); [/var/www/frontend/library/core/class.pluginmanager.php 663] Gdn_PluginManager->GetPluginInstance(); [/var/www/frontend/library/core/class.pluginmanager.php 605] Gdn_PluginManager->CallEventHandler(); [/var/www/frontend/library/core/class.pluggable.php 113] Gdn_PluginManager->CallEventHandlers(); [/var/www/frontend/library/core/class.dispatcher.php 183] Gdn_Pluggable->FireEvent(); [/var/www/frontend/index.php 55] Gdn_Dispatcher->Dispatch();

I got shunted to Forums Overloaded page on refresh.

X-Com LP Thread I, II, III, IV, V
That's unbelievably cool. Your new name is cool guy. Let's have sex.
Fishman on
Sign In or Register to comment.