The problem is, I exported all my tables and fields. When it exported these fields, it came out in a way that, evidentally, phpMyAdmin 2.6.3 and mysql 4 can't understand.
This is a oscommerce database I was editing for a friend and now I can't get it to work on his database without EXTENSIVE editing in the sql code (which could take forever).
Here is an example of the SQL code outputed on my home server:
DROP TABLE IF EXISTS `banners`; CREATE TABLE `banners` ( `banners_id` int(11) NOT NULL auto_increment, `banners_title` varchar(64) NOT NULL, `banners_url` varchar(255) NOT NULL, `banners_image` varchar(64) NOT NULL, `banners_group` varchar(10) NOT NULL, `banners_html_text` text, `expires_impressions` int(7) '0', `expires_date` datetime NULL, `date_scheduled` datetime NULL, `date_added` datetime NOT NULL, `date_status_change` datetime NULL, `status` int(1) NOT NULL '1', PRIMARY KEY (`banners_id`) ) ENGINE=InnoDB CHARSET=latin1 AUTO_INCREMENT=2;
and here is the error's I get:
#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 ''0',
`expires_date` datetime NULL,
I know how to fix this manually but again, that would take forever. Is there something I can do to make mysql or phpMyAdmin understand this code?