Hi Doug, What's the MySQL version you're running? Your SQL query worked fine on my PC. MySQL 3.23.47 Win98SE
Last time I had some problem (that was 3.23.32 I think) when mixing VARCHAR and TEXT types in the FULLTEXT index. After upgrading to MySQL 3.23.47, I did not encounter anymore problem like these... Regards, Al > -----Original Message----- > From: Doug Dalton [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 28, 2002 5:02 AM > To: [EMAIL PROTECTED] > Subject: FULLTEXT error? > > > Error > > SQL-query: > > CREATE TABLE quotes ( > id int(9) NOT NULL auto_increment, > author varchar(255), > content text, > PRIMARY KEY (id), > UNIQUE KEY id (id), > FULLTEXT KEY author (author,content) > ) TYPE=MyISAM; > > MySQL said: You have an error in your SQL syntax near 'KEY author > (author,content) ) TYPE=MyISAM;' at line 7 > > I have also tried to create the table and ALTER TABLE quotes ADD > FULLTEXT author (author,contect) > > I get the same error, is this a function at is only in 3.23 Max or is > it in the standard version as well? > > R/Doug > > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail > <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php