ERROR 1064 (42000) SQL-syntax

Ich habe Probleme beim Import eines Schemas in mysql.

mysql -u user -p print < jasmine.sql 

ERROR 1064 (42000) at line 23: Sie haben einen Fehler in Ihrer SQL-syntax;
überprüfen Sie das Handbuch, das entspricht Ihrer MySQL-server-version für die
right syntax to use near '(14) not NULL,
job_id tinytext NICHT
NULL,
printer tinytext not NULL,
`u' in Zeile 3

Hier ist mein code:

CREATE TABLE `jobs_log` (
  `id` mediumint(9) NOT NULL auto_increment, 
  `date` timestamp(14) NOT NULL,
  `job_id` tinytext NOT NULL, 
  `printer` tinytext NOT NULL,
  `user` tinytext NOT NULL, 
  `server` tinytext NOT NULL, 
  `title` tinytext NOT NULL,
  `copies` smallint(6) NOT NULL default '0', 
  `pages` smallint(6) NOT NULL default '0', 
  `options` tinytext NOT NULL, 
  `doc` tinytext NOT NULL, 
  PRIMARY KEY  (`id`) 
) TYPE=MyISAM COMMENT='Lists all the jobs successfully sent for printing';

Bin ich mit dem Mysql-Server der Version 5.5.

InformationsquelleAutor Rubem Cerqueira | 2013-08-25

Schreibe einen Kommentar