log.51cto.com/imp_countall.php 文件出错

<br />
<b>Warning</b>:  mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in <b>/usr/local/apache2/htdocs/ad/imp_countall.php</b> on line <b>5</b><br />
<br />
<b>Warning</b>:  mysql_select_db(): supplied argument is not a valid MySQL-Link resource in <b>/usr/local/apache2/htdocs/ad/imp_countall.php</b> on line <b>6</b><br />
<br />
<b>Warning</b>:  mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in <b>/usr/local/apache2/htdocs/ad/imp_countall.php</b> on line <b>9</b><br />
<br />
<b>Warning</b>:  mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: A link to the server could not be established in <b>/usr/local/apache2/htdocs/ad/imp_countall.php</b> on line <b>9</b><br />
<br />
<b>Warning</b>:  mysql_num_rows(): supplied argument is not a valid MySQL result resource in <b>/usr/local/apache2/htdocs/ad/imp_countall.php</b> on line <b>10</b><br />
<br />
<b>Warning</b>:  mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in <b>/usr/local/apache2/htdocs/ad/imp_countall.php</b> on line <b>12</b><br />
<br />
<b>Warning</b>:  mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: A link to the server could not be established in <b>/usr/local/apache2/htdocs/ad/imp_countall.php</b> on line <b>12</b><br />
<br />
<b>Warning</b>:  mysql_insert_id() [<a href='function.mysql-insert-id'>function.mysql-insert-id</a>]: A link to the server could not be established in <b>/usr/local/apache2/htdocs/ad/imp_countall.php</b> on line <b>13</b><br />
<br />

<b>Warning</b>:  mysql_query(): supplied argument is not a valid MySQL-Link resource in <b>/usr/local/apache2/htdocs/ad/imp_countall.php</b> on line <b>19</b><br />


 本文转自 simeon2005 51CTO博客,原文链接:http://blog.51cto.com/simeon/94565


上一篇:JSON在PHP中的应用


下一篇:用Mindjet MindManager 15 打开文件后停止响应的解决方法