Warning: mysql_connect() [function.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() [function.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
错误信息提示:
错误号:12142

错误原因:No such file or directory

数据库不可用:
book
——错误记录被保存!


Warning: mysql_query() [function.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() [function.mysql-query]: No such file or directory in /www/wwwroot/xxshuo/common/mysql.class.php on line 39

Warning: mysql_query() [function.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() [pdo.--construct]: [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in /www/wwwroot/xxshuo/shici/shiren_detail.php on line 7

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] No such file or directory' in /www/wwwroot/xxshuo/shici/shiren_detail.php:7 Stack trace: #0 /www/wwwroot/xxshuo/shici/shiren_detail.php(7): PDO->__construct('mysql:host=loca...', 'book', 'HmLkhytACPXKmPJ...') #1 {main} thrown in /www/wwwroot/xxshuo/shici/shiren_detail.php on line 7