安装“vip 充值插件for UCHome 2.0 GBK”时的错误
运行pay.php?ac=install后提示以下错误:
MySQL Error
Message: MySQL Query Error
SQL: CREATE TABLE IF NOT EXISTS uchome_mardpay ( `pid` int(8) NOT NULL auto_increment, `payno` varchar(32) NOT NULL, `payuid` int(8) NOT NULL, `paymcard` double(10,2) NOT NULL, `paynote` varchar(100) default NULL, `paytext` varchar(100) NOT NULL, `paytime` datetime default NULL, PRIMARY KEY (`pid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk;
Error: You have an error in your SQL syntax near 'ENGINE=MyISAM DEFAULT CHARSET=gbk' at line 10
Errno.: 1064
我的数据库编码是:latin1
安装出现同样错误,怎么修改插件编码还是怎么处理才可以安装? |