MySQL Syntax error when locally importing dump from Amazon MySQL RDS?

后端 未结 2 984
春和景丽
春和景丽 2021-01-24 21:43

When I create a database dump from Amazon RDS and then I try to import it locally, the result is ERROR 1064 (42000) at line 54.

At line 54 there is the foll

2条回答
  •  日久生厌
    2021-01-24 22:16

    'key' is a reserved word in MySQL, and shouldn't be used as a column name. It's possible that a different version on Amazon RDS allowed it, but your best bet is to change the column name to something different.

提交回复
热议问题