Warning: mysqli_connect(): (HY000/2002): No such file or directory in /var/www/licorp.lv/html/include/mysql2i.class.php on line 43

Fatal error: Uncaught Error: Call to undefined function perror() in /var/www/licorp.lv/html/include/inc_mysql.php:21 Stack trace: #0 /var/www/licorp.lv/html/include/inc_database.php(10): sql_mysql->connect('localhost', 'root', 'Temp123!@#', 'licorp') #1 /var/www/licorp.lv/html/include/inc_database.php(13): db_conn() #2 /var/www/licorp.lv/html/include/inc_template.php(17): include('/var/www/licorp...') #3 /var/www/licorp.lv/html/include/doc_show.php(37): require_once('/var/www/licorp...') #4 /var/www/licorp.lv/html/public/index.php(7): include('/var/www/licorp...') #5 {main} thrown in /var/www/licorp.lv/html/include/inc_mysql.php on line 21