warleb Posted August 24, 2006 Share Posted August 24, 2006 Does anyone know how to solve this issue? Error SQL query: CREATE TABLE `sms_defaults` ( `sms_default_message_id` int( 32 ) NOT NULL AUTO_INCREMENT , `sms_default_message_name` varchar( 50 ) NOT NULL default '', `sms_language_id` int( 5 ) NOT NULL default '0', `sms_default_message_text` varchar( 160 ) default NULL , PRIMARY KEY ( `sms_default_message_id` ) ) ENGINE = MYISAM DEFAULT CHARSET = latin1; MySQL said: #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 'DEFAULT CHARSET=latin1' at line 7 I don't bother doing backups. I love the thrill of screwing it all up! Link to comment Share on other sites More sharing options...
user99999999 Posted August 24, 2006 Share Posted August 24, 2006 You can just remove this part it will use the defaults. ENGINE = MYISAM DEFAULT CHARSET = latin1 The statement changed in mysql 3.x type=myisam and 4.x engine=myisam Link to comment Share on other sites More sharing options...
warleb Posted August 24, 2006 Author Share Posted August 24, 2006 You can just remove this part it will use the defaults. ENGINE = MYISAM DEFAULT CHARSET = latin1 The statement changed in mysql 3.x type=myisam and 4.x engine=myisam That's great. It worked a treat. Cheers Steve I don't bother doing backups. I love the thrill of screwing it all up! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.