-2

我遇到了进口问题。

#1064 - 您的 SQL 语法有错误;检查与您的 MySQL 服务器版本相对应的手册,以获得在 'ALTER TABLE field_revision_field_linksDISABLE KEYS */;附近使用的正确语法 在第 5 行插入“field_rev”

这是一个 Drupal 数据库。谁能帮我?我通过 putty 导出 sql 并通过 Parallels Plesk 的 phpMyAdmin 导入数据库。谢谢

更多细节:

1.) 服务器版本 5.1.69-0ubuntu0.10.04.1
2.) MySQL 转储 10.13 Distrib 5.1.69,用于 debian-linux-gnu (x86_64)
3.) Drupal 版本 7.32

DROP TABLE IF EXISTS `field_revision_field_links`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `field_revision_field_links` (
  `entity_type` varchar(128) NOT NULL DEFAULT '' COMMENT 'The entity type this data is attached to',
  `bundle` varchar(128) NOT NULL DEFAULT '' COMMENT 'The field instance bundle to which this row belongs, used when deleting a field instance',
  `deleted` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'A boolean indicating whether this data item has been deleted',
  `entity_id` int(10) unsigned NOT NULL COMMENT 'The entity id this data is attached to',
  `revision_id` int(10) unsigned NOT NULL COMMENT 'The entity revision id this data is attached to',
  `language` varchar(32) NOT NULL DEFAULT '' COMMENT 'The language for this data item.',
  `delta` int(10) unsigned NOT NULL COMMENT 'The sequence number for this data item, used for multi-value fields',
  `field_links_value` varchar(255) DEFAULT NULL,
  `field_links_format` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`entity_type`,`entity_id`,`revision_id`,`deleted`,`delta`,`language`),
  KEY `entity_type` (`entity_type`),
  KEY `bundle` (`bundle`),
  KEY `deleted` (`deleted`),
  KEY `entity_id` (`entity_id`),
  KEY `revision_id` (`revision_id`),
  KEY `language` (`language`),
  KEY `field_links_format` (`field_links_format`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Revision archive storage for field 117 (field_links)';
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `field_revision_field_links` WRITE;
/*!40000 ALTER TABLE `field_revision_field_links` DISABLE KEYS */;
INSERT INTO `field_revision_field_links` VALUES ('node','basic_page',0,14,14,'und',0,'<a href=\"http://www.jcdecaux.co.uk/news\">News</a>','full_html'),('node','basic_page',0,14,14,'und',1,'http://www.jcdecaux.co.uk/','full_html');
/*!40000 ALTER TABLE `field_revision_field_links` ENABLE KEYS */;
UNLOCK TABLES;
4

1 回答 1

0

删除整个评论行,包括;评论后的,

于 2013-09-05T08:17:34.960 回答