Warning: mysqli::mysqli(): (HY000/2002): Connection refused in /home/var/www/localhost/htdocs/duonet_sklep/inc/class.Polacz.php on line 16

Fatal error: Uncaught exception 'Exception' with message 'Connection refused' in /home/var/www/localhost/htdocs/duonet_sklep/inc/class.Polacz.php:19 Stack trace: #0 /home/var/www/localhost/htdocs/duonet_sklep/inc/class.Polacz.php(33): Polacz::p() #1 /home/var/www/localhost/htdocs/duonet_sklep/duoshop/class/User.php(109): sql('SELECT `id` FRO...') #2 /home/var/www/localhost/htdocs/duonet_sklep/duoshop/class/User.php(36): User->czyZalogowany() #3 /home/var/www/localhost/htdocs/duonet_sklep/duoshop/class/DuoShop.php(17): User->__construct() #4 /home/var/www/localhost/htdocs/duonet_sklep/duoshop/class/Init.php(13): DuoShop->__construct() #5 /home/var/www/localhost/htdocs/duonet_sklep/index.php(12): Init->__construct() #6 {main} thrown in /home/var/www/localhost/htdocs/duonet_sklep/inc/class.Polacz.php on line 19