Database upload error
-
I’m moving from localhost to a live site and have this error when I try to upload the database:
CREATE TABLE
wp_sfposts(post_idBIGINT( 20 ) NOT NULL AUTO_INCREMENT ,
post_contentLONGTEXT,
post_dateDATETIME NOT NULL ,
topic_idBIGINT( 20 ) NOT NULL ,
user_idBIGINT( 20 ) ,
forum_idBIGINT( 20 ) NOT NULL ,
guest_nameVARCHAR( 20 ) ,
guest_emailVARCHAR( 50 ) ,
post_statusINT( 4 ) NOT NULL DEFAULT ‘0’,
post_pinnedSMALLINT( 1 ) NOT NULL DEFAULT ‘0’,
post_indexMEDIUMINT( 8 ) DEFAULT ‘0’,
post_editMEDIUMTEXT,
poster_ipVARCHAR( 39 ) NOT NULL DEFAULT ‘0.0.0.0’,
comment_idBIGINT( 20 ) ,
sourceSMALLINT( 1 ) NOT NULL DEFAULT ‘0’,
PRIMARY KEY (post_id) ,
KEYtopicp_idx(topic_id) ,
KEYforump_idx(forum_id) ,
KEYuser_idx(user_id) ,
KEYguest_name_idx(guest_name) ,
KEYcomment_idx(comment_id) ,
KEYpost_date_idx(post_date) ,
KEYpost_content(post_content)
) ENGINE = MYISAM DEFAULT CHARSET = utf8 AUTO_INCREMENT =2;MySQL said: Documentation
#1170 – BLOB/TEXT column ‘post_content’ used in key specification without a key lengthThere is a post which mentions this error but the fix isn’t clear enough for me! I of course googled the error too and am looking at the database, but it was working fine not long ago on the localhost. Getting desperate now, can someone help please? Thanks.
-
a few related to moving from local to live server:
http://wordpress.org/support/topic/moving-a-local-site-to-server-live?replies=4
http://www.wpbeginner.com/wp-tutorials/how-to-move-wordpress-from-local-server-to-live-site/
Thanks Tara, some good links in there I’ll keep hold of.
I’ve managed to upload the database after having manually deleted all the wp_sf…. tables – they were from Simple Press which I can worry about later if I ever get the thing live! 🙂
Glad to hear that 🙂
The topic ‘Database upload error’ is closed to new replies.