数据库操作出错:2002 -> Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Select * from website_channel where ChannelID=''
数据库操作出错:2002 -> Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Select ChannelParentID from website_channel where ChannelID=''
数据库操作出错:2002 -> Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Select * from website_channel where ChannelID=''
数据库操作出错:2002 -> Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Select website_channel.ChannelID from website_channel, news where website_channel.ChannelID=news.NewsCat and website_channel.ChannelParentID='' and news.NewsState='发布'
数据库操作出错:2002 -> Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
SELECT NewsID, NewsTitle, NewsCat, NewsPublishTime from news where NewsCat='' and NewsState='发布' order by NewsPublishTime DESC, NewsID Desc
数据库操作出错:2002 -> Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
select ChannelParentID from website_channel where ChannelID=''
数据库操作出错:2002 -> Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Select TemplateName from website_channel where ChannelID=''
数据库操作出错:2002 -> Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Select * from system_info where NewsCat=''
数据库操作出错:2002 -> Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Select NewsCat from news where NewsID='7823'
数据库操作出错:2002 -> Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
select ChannelParentID from website_channel where ChannelID=''
数据库操作出错:2002 -> Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
select ChannelParentID from website_channel where ChannelID=''
数据库操作出错:2002 -> Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
select ChannelParentID from website_channel where ChannelID=''
数据库操作出错:2002 -> Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Select * from news where NewsID='7823'
数据库操作出错:2002 -> Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Select ChannelID, ChannelName from website_channel where ChannelParentID='' and Display='Y' order by ChannelOrder
数据库操作出错:2002 -> Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
select ChannelID from website_channel where AccessAccount!='' and ChannelID=''
数据库操作出错:2002 -> Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Select ChannelName from website_channel where ChannelID=''
数据库操作出错:2002 -> Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Select Copyright from website_setup where ID=1
数据库操作出错:2002 -> Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Select Websitename from website_setup where ID=1
数据库操作出错:2002 -> Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
select ChannelID, ChannelName, (select count(*) from website_channel where ChannelParentID=a.ChannelID and Display='Y') as counter from website_channel as a where a.ChannelParentID=0 and a.Display='Y' order by a.ChannelOrder
数据库操作出错:2002 -> Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
select * from website_channel where ChannelParentID>0 and Display='Y' order by ChannelParentID, ChannelOrder
数据库操作出错:2002 -> Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Select Copyright from website_setup where ID=1
中国科学技术院所联谊会
会员登录