MySQL compatibility

人走茶凉 提交于 2019-12-13 21:17:08

问题


I have a script that I got online that I wanted to try out. Everything has worked so far except for the last step which is to import a .sql file using phpmyadmin. The .sql script is

CREATE TABLE lil_urls (
  id varchar(255) NOT NULL default '',
  url text,
  date timestamp(14) NOT NULL,
  PRIMARY KEY  (id)
) TYPE=MyISAM;

My server version is 5.5.34-cll - MySQL Community Server (GPL)

The error I get says

#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 '(14) NOT NULL, PRIMARY KEY (id) ) TYPE=MyISAM' at line 4

How do I properly import this file?

Thanks

来源:https://stackoverflow.com/questions/21269506/mysql-compatibility

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!