Database Restore Error
-
I am getting this error when trying to restore from a database backup file & am not sure at all how to proceed. I have backed up from a similar file to this & it was fine. I will lose about 3 years worth of posts that I will have to redo if I can’t figure this out, so any help is GREATLY appreciated. Thanks!!
Error
SQL query:
# # Table structure of table
wp_comments# CREATE TABLEwp_comments(comment_IDbigint(20) unsigned NOT NULL auto_increment,comment_post_IDbigint(20) unsigned NOT NULL default ‘0’,comment_authortinytext NOT NULL,comment_author_emailvarchar(100) NOT NULL default ”,comment_author_urlvarchar(200) NOT NULL default ”,comment_author_IPvarchar(100) NOT NULL default ”,comment_datedatetime NOT NULL default ‘0000-00-00 00:00:00’,comment_date_gmtdatetime NOT NULL default ‘0000-00-00 00:00:00’,comment_contenttext NOT NULL,comment_karmaint(11) NOT NULL default ‘0’,comment_approvedvarchar(20) NOT NULL default ‘1’,comment_agentvarchar(255) NOT NULL default ”,comment_typevarchar(20) NOT NULL default ”,comment_parentbigint(20) unsigned NOT NULL default ‘0’,user_idbigint(20) unsigned NOT NULL default ‘0’, PRIMARY KEY (comment_ID), KEYcomment_approved(comment_approved(1)), KEY `comment_pos[…]MySQL said: Documentation
#1067 – Invalid default value for ‘comment_date’
The topic ‘Database Restore Error’ is closed to new replies.