Warning: mysql_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in /www/wwwroot/xxshuo/common/mysql.class.php on line 32
Warning: mysql_connect(): No such file or directory in /www/wwwroot/xxshuo/common/mysql.class.php on line 32
Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /www/wwwroot/xxshuo/common/mysql.class.php on line 34
Warning: mysql_query(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in /www/wwwroot/xxshuo/common/mysql.class.php on line 39
Warning: mysql_query(): No such file or directory in /www/wwwroot/xxshuo/common/mysql.class.php on line 39
Warning: mysql_query(): A link to the server could not be established in /www/wwwroot/xxshuo/common/mysql.class.php on line 39
Warning: PDO::__construct(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in /www/wwwroot/xxshuo/shici/detail.php on line 8
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] No such file or directory' in /www/wwwroot/xxshuo/shici/detail.php:8
Stack trace:
#0 /www/wwwroot/xxshuo/shici/detail.php(8): PDO->__construct('mysql:host=loca...', 'book', 'HmLkhytACPXKmPJ...')
#1 {main}
thrown in /www/wwwroot/xxshuo/shici/detail.php on line 8