| 
	
 | 
 Posted by J.O. Aho on 12/13/06 14:32 
ulyx wrote: 
> And the text description was what? My mind reading is a bit broken today. 
> :-))))))))))))))) Sorry once again. 
>  
> ---------------------------------------------------------------------------- 
> --------------------------------------- 
> Sql execution error # 1064. Response from the database. You have an error in 
> sql syntax. Check the manual that corresponds to your Mysql server version 
> for the right syntax to use near 'CURRENT_TIMESTAMP ON UPDATE 
> ---------------------------------------------------------------------------- 
> -------------------------------- 
> This is whole message. 
 
      `image_time` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP 
                                      ON UPDATE CURRENT_TIMESTAMP, 
 
 From the error message we see that something before 'CURRENT_TIMESTAMP ON  
UPDATE' isn't right for the version of MySQL you are using, I would guess on  
'NOT NULL DEFAULT', skip that part, as Norman Peelman said, and I think it  
will work. 
 
 
--  
 
   //Aho
 
  
Navigation:
[Reply to this message] 
 |