DROP TABLE IF EXISTS `phpcms_ask_credit`CREATE TABLE `phpcms_ask_credit` (`cid` mediumint(8) unsigned NOT NULL auto_increment,`userid` mediumint(8) unsigned NOT NULL default \'0\',`username` char(20) NOT NULL,`premonth` smallint(5) unsigned NOT NULL default \'0\',`month` smallint(5) unsigned NOT NULL default \'0\',`preweek` smallint(5) unsigned NOT NULL default \'0\',`week` smallint(5) unsigned NOT NULL default \'0\',`addtime` int(10) unsigned NOT NULL default \'0\',PRIMARY KEY(`cid`),UNIQUE KEY `userid` (`userid`),KEY `premonth` (`premonth`,`userid`),KEY `preweek` (`preweek`,`userid`)) TYPE=MyISAM这个事建
表语句,
你在后台或者用phpmyadmin运行一下即可该 *** 作有风险请做好
数据库备份1、你创建的data_parts数据库,但没有在这个库创建user表
2、所以你在use data_pats后,select host,user from user会报错
3、而你在use mysql 后不报表,是因为mysql库中,存在user表
评论列表(0条)