我正在尝试将在 mySQL 5.0.92 中创建的转储导入 mySQL 5.1.63。但是我收到一个错误。
Error
SQL query:
-- -- Database: 'removed_keyboard' -- -- -------------------------------------------------------- -- -- Table structure for table 'bindings' -- CREATE TABLE IF NOT EXISTS 'bindings' ( 'binding_id' int(10) unsigned NOT NULL auto_increment, 'game_id' int(5) unsigned NOT NULL, 'layout_id' tinyint(3) unsigned NOT NULL, 'key_number' tinyint(3) unsigned NOT NULL, 'normal_action' varchar(128) default NULL, 'normal_group' tinyint(2) unsigned default NULL, 'shift_action' varchar(64) default NULL, 'shift_group' tinyint(2) unsigned default NULL, 'ctrl_action' varchar(64) default NULL, 'ctrl_group' tinyint(2) unsigned default NULL, 'alt_action' varchar(64) default NULL, 'alt_group' tinyint(2) unsigned default NULL, 'altgr_action' varchar(64) default NULL, 'altgr_group' tinyint(2) unsigned default NULL, 'extra_action' varchar(64) default NULL, 'extra_group' tinyint(2) unsigned default NULL, 'image_file' varchar(256) default NULL, PRIMARY KEY ('binding_id')[...]
MySQL said:
#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 ''bindings' (
'binding_id' int(10) unsigned NOT NULL auto_increment,
'game_id' at line 11
错误是什么?我不熟悉不同 mySQL 版本之间的差异。它们之间是否有一个对新手友好的语法差异列表?
谢谢!谢谢!
麦克风