My client has had his site updated by a third party using expression engine and I am now trying to import the site and database to my server. The server is a 1and1 shared server and as such is not localhost. I have run the wizard script and it says I am good to go.
However when importing the database I am getting the following error…
#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 ‘CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
`comment` tex
This is the whole sql segment…
CREATE TABLE `exp_comments` (
`comment_id` int( 10 ) unsigned NOT NULL AUTO_INCREMENT ,
`site_id` int( 4 ) unsigned NOT NULL default '1',
`entry_id` int( 10 ) unsigned NOT NULL default '0',
`weblog_id` int( 4 ) unsigned NOT NULL ,
`author_id` int( 10 ) unsigned NOT NULL default '0',
`status` char( 1 ) NOT NULL default 'o',
`name` varchar( 50 ) NOT NULL ,
`email` varchar( 50 ) NOT NULL ,
`url` varchar( 75 ) NOT NULL ,
`location` varchar( 50 ) NOT NULL ,
`ip_address` varchar( 16 ) NOT NULL ,
`comment_date` int( 10 ) NOT NULL ,
`edit_date` timestamp NOT NULL default CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ,
`comment` text NOT NULL ,
`notify` char( 1 ) NOT NULL default 'n',
PRIMARY KEY ( `comment_id` ) ,
KEY `entry_id` ( `entry_id` ) ,
KEY `weblog_id` ( `weblog_id` ) ,
KEY `author_id` ( `author_id` ) ,
KEY `status` ( `status` ) ,
KEY `site_id` ( `site_id` )
) ENGINE = MYISAM AUTO_INCREMENT =1the mysql version is v4
Can anybody point out the problem please ?
Thanks
Jim