问题
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