Hi Allen,lodestone wrote:Greetings,
However, one of your code lines that I changed from jos_ to j17_ returned the following error:
I know just enough about MySQL to make me very dangerous so I haven't a clue what is wrong. Perhaps you can shed some light on it. I'm running MySQL version 5.1.56.SQL query:
ALTER TABLE `j17_phocagallery` ADD COLUMN `metadata` TEXT NULL AFTER `metadesc` ,
ADD COLUMN `exttype` TINYINT( 1 ) NOT NULL DEFAULT `0` AFTER `extid` ,
ADD COLUMN `language` CHAR( 7 ) NOT NULL DEFAULT `*` AFTER `exth` ;
MySQL said: Documentation
#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 '`0` AFTER `extid`, ADD COLUMN `language` CHAR(7) NOT NULL DEFAULT `*` AFTER `ex' at line 1
Thanks,
--Allen
my MySQL version is different but i think that this isn't the problem, if you try to launch this quesry alone without other query you receive the same error?
it is strange that your error is truncated and don't report the correct column name.
Code: Select all
NULL DEFAULT `*` AFTER `ex' at
DN