V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
ballpen
V2EX  ›  问与答

MySQL 返回: 一 Wordpress 数据库.sql 文件导入出错,客户的 之前好像使用的 InnoDB

  •  
  •   ballpen · May 17, 2016 · 2008 views
    This topic created in 3633 days ago, the information mentioned may be changed or developed.

    本地测试 mysql> show engines; | InnoDB | YES | Supports transactions, row-level locking, and f

    说明支持对吧? 就是导入提示

    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 'TYPE=InnoDB AUTO_INCREMENT=213' at line 16

    各位 请问还有其他什么原因会错呢

    2 replies    2016-05-17 14:53:24 +08:00
    akira
        1
    akira  
       May 17, 2016
    手动把 sql 里面的 innodb 改成 myiasm 之类的,再跑看看有没别的错误。
    BOYPT
        2
    BOYPT  
       May 17, 2016
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3171 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 14:29 · PVG 22:29 · LAX 07:29 · JFK 10:29
    ♥ Do have faith in what you're doing.