数据库连接错误Unknown MySQL server host 'hdm160055627.my3w.com' (1)数据库hdm160055627_db不存在操作数据库失败Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
sql:select * from xw_news as c,xw_news_content as b where c.id=b.id and c.id=4
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /usr/home/hyu1506040001/htdocs/system/libs/mysql.class.php on line 64
Warning: Invalid argument supplied for foreach() in /usr/home/hyu1506040001/htdocs/system/modules/content/index.php on line 95
操作数据库失败Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
sql:select * from xw_news where `catid`='23' and `id` > 4 order by id asc
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /usr/home/hyu1506040001/htdocs/system/libs/mysql.class.php on line 64
操作数据库失败Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
sql:select * from xw_news where `catid`='23' and `id` < 4 order by id desc
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /usr/home/hyu1506040001/htdocs/system/libs/mysql.class.php on line 64