You are here: Re: #1064 error « All PHP « IT news, forums, messages
Re: #1064 error

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация