Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Cannot assign requested address in /usr/local/kphp/httpd/lib/db/DBClient.inc:45
Stack trace:
#0 /usr/local/kphp/httpd/lib/db/DBClient.inc(45): PDO->__construct()
#1 /usr/local/kphp/httpd/lib/db/DBClient.inc(62): create_pdo()
#2 /usr/local/kphp/httpd/lib/funcs/db_server_func.inc(97): DBClient->__construct()
#3 /usr/local/kphp/httpd/lib/funcs/cache_func.inc(25): {closure}()
#4 /usr/local/kphp/httpd/lib/funcs/db_server_func.inc(98): C()
#5 /usr/local/kphp/httpd/lib/funcs/db_server_func.inc(107): db_client_of_id()
#6 /usr/local/kphp/httpd/lib/framework/MySQLSessionHandler.inc(8): db_client()
#7 /usr/local/kphp/httpd/lib/framework/include.inc(152): MySQLSessionHandler->__construct()
#8 /usr/local/kphp/httpd/htdocs/pic/crop.php(3): require_once('...')
#9 {main}
thrown in /usr/local/kphp/httpd/lib/db/DBClient.inc on line 45