Database_Exception [ 2002 ]: SQLSTATE[HY000] [2002] Connection timed out

MODPATH/database/classes/Kohana/Database/PDO.php [ 59 ]

54 			// Create a new PDO connection
55 			$this->_connection = new PDO($dsn, $username, $password, $options);
56 		}
57 		catch (PDOException $e)
58 		{
59 			throw new Database_Exception(':error',
60 				array(':error' => $e->getMessage()),
61 				$e->getCode());
62 		}
63 	}
64 
  1. MODPATH/database/classes/Kohana/Database/PDO.php [ 130 ] » Kohana_Database_PDO->connect()

  2. MODPATH/database/classes/Kohana/Database/Query.php [ 251 ] » Kohana_Database_PDO->query(arguments)

  3. MODPATH/orm/classes/Kohana/ORM.php [ 1648 ] » Kohana_Database_Query->execute(arguments)

  4. APPPATH/classes/Model/CalendarTypePosts.php [ 40 ] » Kohana_ORM->count_all()

  5. APPPATH/views/home/ministries-family.php [ 3 ] » Model_CalendarTypePosts->get_data(arguments)

  6. SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)

  7. SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)

  8. SYSPATH/classes/Kohana/View.php [ 228 ] » Kohana_View->render()

  9. APPPATH/views/site-index.php [ 10 ] » Kohana_View->__toString()

  10. SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)

  11. SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)

  12. SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()

  13. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Kohana_Controller_Template->after()

  14. {PHP internal call} » Kohana_Controller->execute()

  15. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  16. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  17. SYSPATH/classes/Kohana/Request.php [ 986 ] » Kohana_Request_Client->execute(arguments)

  18. DOCROOT/index.php [ 118 ] » Kohana_Request->execute()

Environment