Database_Exception [ 2 ]: mysqli::__construct(): (HY000/1040): Too many connections

MODPATH/database/classes/Kohana/Database/MySQLi.php [ 75 ]

70 		catch (Exception $e)
71 		{
72 			// No connection exists
73 			$this->_connection = NULL;
74 
75 			throw new Database_Exception(':error', array(':error' => $e->getMessage()), $e->getCode());
76 		}
77 
78 		// \xFF is a better delimiter, but the PHP driver uses underscore
79 		$this->_connection_id = sha1($hostname.'_'.$username.'_'.$password);
80 
  1. MODPATH/database/classes/Kohana/Database/MySQLi.php [ 154 ] » Kohana_Database_MySQLi->connect()

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

  3. APPPATH/classes/Controller/Index/Catalogue.php [ 180 ] » Kohana_Database_Query->execute(arguments)

  4. APPPATH/classes/Controller/Index/Catalogue.php [ 2918 ] » Controller_Index_Catalogue->check_cat()

  5. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Index_Catalogue->action_view()

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

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

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

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

  10. APPPATH/classes/Controller/Index/Product.php [ 61 ] » Kohana_Request->execute()

  11. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Index_Product->action_product()

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

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

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

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

  16. DOCROOT/index.php [ 124 ] » Kohana_Request->execute()

Environment