ErrorException [ Warning ]: mysql_connect():

MODPATH/database\classes\kohana\database\mysql.php [ 56 ]

51 		try
52 		{
53 			if (empty($persistent))
54 			{
55 				// Create a connection and force it to be a new link
56 				$this->_connection = mysql_connect($hostname, $username, $password, TRUE);
57 			}
58 			else
59 			{
60 				// Create a persistent connection
61 				$this->_connection = mysql_pconnect($hostname, $username, $password);
  1. {PHP internal call} » Kohana_Core::error_handler(arguments)

  2. MODPATH/database\classes\kohana\database\mysql.php [ 56 ] » mysql_connect(arguments)

  3. MODPATH/database\classes\kohana\database\mysql.php [ 155 ] » Kohana_Database_MySQL->connect()

  4. MODPATH/database\classes\kohana\database\mysql.php [ 293 ] » Kohana_Database_MySQL->query(arguments)

  5. MODPATH/orm\classes\kohana\orm.php [ 1149 ] » Kohana_Database_MySQL->list_columns(arguments)

  6. MODPATH/orm\classes\kohana\orm.php [ 1033 ] » Kohana_ORM->list_columns(arguments)

  7. MODPATH/orm\classes\kohana\orm.php [ 509 ] » Kohana_ORM->reload_columns()

  8. MODPATH/orm\classes\kohana\orm.php [ 140 ] » Kohana_ORM->_initialize()

  9. MODPATH/orm\classes\kohana\orm.php [ 112 ] » Kohana_ORM->__construct(arguments)

  10. APPPATH/classes\controller\sortiment.php [ 409 ] » Kohana_ORM::factory(arguments)

  11. {PHP internal call} » Controller_Sortiment->action_loznice_postele()

  12. SYSPATH/classes\kohana\request.php [ 1025 ] » ReflectionMethod->invokeArgs(arguments)

  13. APPPATH/bootstrap.php [ 222 ] » Kohana_Request->execute()

  14. DOCROOT/index.php [ 103 ] » require(arguments)

Environment