这个问题解决了。上传到服务器里 用phpmyadmin 导入时 出现这个错误晕死了
服务器: 222.73.4.69
错误
SQL 查询:
-- phpMyAdmin SQL Dump
-- version 2.8.0.1
-- http://www.phpmyadmin.net
--
-- 涓绘満: localhost:6033
-- 鐢熸垚鏃ユ湡: 2006 骞?06 鏈?05 鏃?17:00
-- 鏈嶅姟鍣ㄧ増鏈? 5.0.18
-- PHP 鐗堟湰: 4.4.2
--
-- 鏁版嵁搴? `discuz`
--
-- --------------------------------------------------------
--
-- 琛ㄧ殑缁撴瀯 `cdb_access`
--
CREATE TABLE `cdb_access` (
`uid` mediumint( 8 ) unsigned NOT NULL default '0',
`fid` smallint( 6 ) unsigned NOT NULL default '0',
`allowview` tinyint( 1 ) NOT NULL default '0',
`allowpost` tinyint( 1 ) NOT NULL default '0',
`allowreply` tinyint( 1 ) NOT NULL default '0',
`allowgetattach` tinyint( 1 ) NOT NULL default '0',
`allowpostattach` tinyint( 1 ) NOT NULL default '0',
PRIMARY KEY ( `uid` , `fid` )
) ENGINE = MYISAM DEFAULT CHARSET = gbk
MySQL 返回:
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=gbk' at line 28 |