Menu

#1064 - You have an error in your SQL syntax;

Help
wazburn
2013-09-05
2015-05-20
  • wazburn

    wazburn - 2013-09-05

    Im getting error below when trying to import create_tables.sql via phpmyadmin>import

    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=MyISAM' at line 18

     
  • Lockie

    Lockie - 2013-09-25

    I encountered the same error. It turns out that TYPE has been deprecated.

    Open create_tables.sql in a text editor and change the 8 instances of the word "TYPE" to "ENGINE".

    If you then encounter an error relating to TIMESTAMP on line 100, remove the "(14)" so it reads "timestamp timestamp NOT NULL,".

    So far my install has been working fine with those changes, so hope that helps!

     
  • Sherwin Gaddis

    Sherwin Gaddis - 2015-05-20

    I was getting the issue with the timestamp. Thanks for the tip.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.