Kemrit Posted September 30, 2005 Posted September 30, 2005 (I'm spanish... my english is too bad) I created a new site in Localhost, and it works perfectly. But when a try to upload the database (sql file) with phpmyadmin in the server... show this: ---------------------------- ERROR: CREATE TABLE `address_book` ( `address_book_id` int( 11 ) NOT NULL AUTO_INCREMENT , `customers_id` int( 11 ) NOT NULL default '0', `entry_gender` char( 1 ) NOT NULL default '', `entry_company` varchar( 32 ) default NULL , `entry_NIF` varchar( 11 ) NOT NULL default '', `entry_firstname` varchar( 32 ) NOT NULL default '', `entry_lastname` varchar( 32 ) NOT NULL default '', `entry_street_address` varchar( 64 ) NOT NULL default '', `entry_suburb` varchar( 32 ) default NULL , `entry_postcode` varchar( 10 ) NOT NULL default '', `entry_city` varchar( 32 ) NOT NULL default '', `entry_state` varchar( 32 ) default NULL , `entry_country_id` int( 11 ) NOT NULL default '0', `entry_zone_id` int( 11 ) NOT NULL default '0', PRIMARY KEY ( `address_book_id` ) , KEY `idx_address_book_customers_id` ( `customers_id` ) ) ENGINE = MYISAM DEFAULT CHARSET = latin1 AUTO_INCREMENT =7 MySQL ha dicho: #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 'ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7' at line ---------------------- Can anybody help me? What is the problem?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.