MySQL Forums
Forum List  »  Newbie

Re: How to convert a PHPmyAdmin export sql file to older version
Posted by: Jeremy Grieff
Date: October 08, 2006 03:27PM

Like this?:

CREATE TABLE `phpbb_search_wordlist` (
`word_text` varchar(50) character NOT NULL default '',
`word_id` mediumint(8) unsigned NOT NULL auto_increment,
`word_common` tinyint(1) unsigned NOT NULL default '0',
PRIMARY KEY (`word_text`),
KEY `word_id` (`word_id`)
) ENGINE=MyISAM AUTO_INCREMENT=28532 ;

Like this?


Like this?:

CREATE TABLE `phpbb_search_wordlist` (
`word_text` varchar(50) character NOT NULL default '',
`word_id` mediumint(8) unsigned NOT NULL auto_increment,
`word_common` tinyint(1) unsigned NOT NULL default '0',
PRIMARY KEY (`word_text`),
KEY `word_id` (`word_id`)
) TYPE=MyISAM AUTO_INCREMENT=28532 ;


If this is the case then do I change ENGINE to TYPE in every scenario of then AUTO_INC follows it? Or do I need to change every instance of when ENGINE=MyISAM ?

Options: ReplyQuote


Subject
Written By
Posted
Re: How to convert a PHPmyAdmin export sql file to older version
October 08, 2006 03:27PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.