arunpatal Posted December 1, 2012 Share Posted December 1, 2012 (edited) Hi, i am trying to install shopping cart script this is the sourse http://www.phpwebcommerce.com/ But i am facing problem while uploading sql file... (xampp) when i am trying to import plaincart.sql it show me error like this Error SQL query: CREATE TABLE `tbl_cart` ( `ct_id` int( 10 ) unsigned NOT NULL AUTO_INCREMENT , `pd_id` int( 10 ) unsigned NOT NULL default '0', `ct_qty` mediumint( 8 ) unsigned NOT NULL default '1', `ct_session_id` char( 32 ) NOT NULL default '', `ct_date` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY ( `ct_id` ) , KEY `pd_id` ( `pd_id` ) , KEY `ct_session_id` ( `ct_session_id` ) ) TYPE = MYISAM AUTO_INCREMENT =58; 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 'TYPE=MyISAM AUTO_INCREMENT=58' at line 10 Have anyone have idea what i am doing wrong? Edited December 1, 2012 by arunpatal Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.