An error was encountered during the lifetime of the application.
This could be due to a variety of problems, such as a bug in the application.
However, normally it is caused by misconfiguration.
Error: PDOException
Message: SQLSTATE[HY000] [2002] Connection refused
File: /home/marollo/www/cp/lib/Flux/Connection.php:81
File | Line | Function/Method |
---|---|---|
/home/marollo/www/cp/lib/Flux/Connection.php | 81 | PDO::__construct() |
/home/marollo/www/cp/lib/Flux/Connection.php | 94 | Flux_Connection::connect() |
/home/marollo/www/cp/lib/Flux/Connection.php | 159 | Flux_Connection::getConnection() |
/home/marollo/www/cp/lib/Flux/TemporaryTable.php | 242 | Flux_Connection::getStatement() |
/home/marollo/www/cp/lib/Flux/TemporaryTable.php | 98 | Flux_TemporaryTable::drop() |
/home/marollo/www/cp/lib/Flux/TemporaryTable.php | 73 | Flux_TemporaryTable::create() |
/home/marollo/www/cp/modules/monster/view.php | 17 | Flux_TemporaryTable::__construct() |
/home/marollo/www/cp/lib/Flux/Template.php | 375 | include() |
/home/marollo/www/cp/lib/Flux/Dispatcher.php | 170 | Flux_Template::render() |
/home/marollo/www/cp/index.php | 169 | Flux_Dispatcher::dispatch() |
#0 /home/marollo/www/cp/lib/Flux/Connection.php(81): PDO->__construct(*hidden*) #1 /home/marollo/www/cp/lib/Flux/Connection.php(94): Flux_Connection->connect(Object(Flux_Config)) #2 /home/marollo/www/cp/lib/Flux/Connection.php(159): Flux_Connection->getConnection() #3 /home/marollo/www/cp/lib/Flux/TemporaryTable.php(242): Flux_Connection->getStatement('DROP TEMPORARY ...') #4 /home/marollo/www/cp/lib/Flux/TemporaryTable.php(98): Flux_TemporaryTable->drop() #5 /home/marollo/www/cp/lib/Flux/TemporaryTable.php(73): Flux_TemporaryTable->create('maroll.mob_db2') #6 /home/marollo/www/cp/modules/monster/view.php(17): Flux_TemporaryTable->__construct(Object(Flux_Connection), 'maroll.monsters', Array) #7 /home/marollo/www/cp/lib/Flux/Template.php(375): include('/home/marollo/w...') #8 /home/marollo/www/cp/lib/Flux/Dispatcher.php(170): Flux_Template->render() #9 /home/marollo/www/cp/index.php(169): Flux_Dispatcher->dispatch(Array) #10 {main}