• for troubleshooting purposes I’m trying to install WP 3.6 but it’s not working…

    WordPress database error: [Invalid default value for 'user_registered']
    CREATE TABLE wp_users ( ID bigint(20) unsigned NOT NULL auto_increment, user_login varchar(60) NOT NULL default '', user_pass varchar(64) NOT NULL default '', user_nicename varchar(50) NOT NULL default '', user_email varchar(100) NOT NULL default '', user_url varchar(100) NOT NULL default '', user_registered datetime NOT NULL default '0000-00-00 00:00:00', user_activation_key varchar(60) NOT NULL default '', user_status int(11) NOT NULL default '0', display_name varchar(250) NOT NULL default '', PRIMARY KEY (ID), KEY user_login_key (user_login), KEY user_nicename (user_nicename) ) DEFAULT CHARACTER SET utf8
    
    WordPress database error: [Invalid default value for 'comment_date']
    CREATE TABLE wp_comments ( comment_ID bigint(20) unsigned NOT NULL auto_increment, comment_post_ID bigint(20) unsigned NOT NULL default '0', comment_author tinytext NOT NULL, comment_author_email varchar(100) NOT NULL default '', comment_author_url varchar(200) NOT NULL default '', comment_author_IP varchar(100) NOT NULL default '', comment_date datetime NOT NULL default '0000-00-00 00:00:00', comment_date_gmt datetime NOT NULL default '0000-00-00 00:00:00', comment_content text NOT NULL, comment_karma int(11) NOT NULL default '0', comment_approved varchar(20) NOT NULL default '1', comment_agent varchar(255) NOT NULL default '', comment_type varchar(20) NOT NULL default '', comment_parent bigint(20) unsigned NOT NULL default '0', user_id bigint(20) unsigned NOT NULL default '0', PRIMARY KEY (comment_ID), KEY comment_post_ID (comment_post_ID), KEY comment_approved_date_gmt (comment_approved,comment_date_gmt), KEY comment_date_gmt (comment_date_gmt), KEY comment_parent (comment_parent) ) DEFAULT CHARACTER SET utf8
    
    WordPress database error: [Invalid default value for 'link_updated']
    CREATE TABLE wp_links ( link_id bigint(20) unsigned NOT NULL auto_increment, link_url varchar(255) NOT NULL default '', link_name varchar(255) NOT NULL default '', link_image varchar(255) NOT NULL default '', link_target varchar(25) NOT NULL default '', link_description varchar(255) NOT NULL default '', link_visible varchar(20) NOT NULL default 'Y', link_owner bigint(20) unsigned NOT NULL default '1', link_rating int(11) NOT NULL default '0', link_updated datetime NOT NULL default '0000-00-00 00:00:00', link_rel varchar(255) NOT NULL default '', link_notes mediumtext NOT NULL, link_rss varchar(255) NOT NULL default '', PRIMARY KEY (link_id), KEY link_visible (link_visible) ) DEFAULT CHARACTER SET utf8
    
    WordPress database error: [Invalid default value for 'post_date']
    CREATE TABLE wp_posts ( ID bigint(20) unsigned NOT NULL auto_increment, post_author bigint(20) unsigned NOT NULL default '0', post_date datetime NOT NULL default '0000-00-00 00:00:00', post_date_gmt datetime NOT NULL default '0000-00-00 00:00:00', post_content longtext NOT NULL, post_title text NOT NULL, post_excerpt text NOT NULL, post_status varchar(20) NOT NULL default 'publish', comment_status varchar(20) NOT NULL default 'open', ping_status varchar(20) NOT NULL default 'open', post_password varchar(20) NOT NULL default '', post_name varchar(200) NOT NULL default '', to_ping text NOT NULL, pinged text NOT NULL, post_modified datetime NOT NULL default '0000-00-00 00:00:00', post_modified_gmt datetime NOT NULL default '0000-00-00 00:00:00', post_content_filtered longtext NOT NULL, post_parent bigint(20) unsigned NOT NULL default '0', guid varchar(255) NOT NULL default '', menu_order int(11) NOT NULL default '0', post_type varchar(20) NOT NULL default 'post', post_mime_type varchar(100) NOT NULL default '', comment_count bigint(20) NOT NULL default '0', PRIMARY KEY (ID), KEY post_name (post_name), KEY type_status_date (post_type,post_status,post_date,ID), KEY post_parent (post_parent), KEY post_author (post_author) ) DEFAULT CHARACTER SET utf8
    
    WordPress database error: [Table 'blogs2.wp_users' doesn't exist]
    SELECT * FROM wp_users WHERE user_login = 'wpadmin'
    
    WordPress database error: [Table 'blogs2.wp_users' doesn't exist]
    SELECT * FROM wp_users WHERE user_login = 'wpadmin'
    
    WordPress database error: [Table 'blogs2.wp_users' doesn't exist]
    SELECT * FROM wp_users WHERE user_email = 'wpadmin@nova.edu'
    
    WordPress database error: [Table 'blogs2.wp_users' doesn't exist]
    SELECT ID FROM wp_users WHERE user_nicename = 'wpadmin' AND user_login != 'wpadmin' LIMIT 1
    
    WordPress database error: [Table 'blogs2.wp_users' doesn't exist]
    INSERT INTO <code>wp_users</code> (<code>user_pass</code>,<code>user_email</code>,<code>user_url</code>,<code>user_nicename</code>,<code>display_name</code>,<code>user_registered</code>,<code>user_login</code>) VALUES ('$P$BTkLAsznBkPlSt8EphitLCfVBS0Y1P/','wpadmin@nova.edu','','wpadmin','wpadmin','2016-01-06 18:03:27','wpadmin')
    
    WordPress database error: [Table 'blogs2.wp_posts' doesn't exist]
    INSERT INTO <code>wp_posts</code> (<code>post_author</code>,<code>post_date</code>,<code>post_date_gmt</code>,<code>post_content</code>,<code>post_excerpt</code>,<code>post_title</code>,<code>post_name</code>,<code>post_modified</code>,<code>post_modified_gmt</code>,<code>guid</code>,<code>comment_count</code>,<code>to_ping</code>,<code>pinged</code>,<code>post_content_filtered</code>) VALUES (0,'2016-01-06 18:03:27','2016-01-06 18:03:27','Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!','','Hello world!','hello-world','2016-01-06 18:03:27','2016-01-06 18:03:27','https://dev.sub.domain.com/TEST/3.6/?p=1',1,'','','')
    
    WordPress database error: [Table 'blogs2.wp_comments' doesn't exist]
    INSERT INTO <code>wp_comments</code> (<code>comment_post_ID</code>,<code>comment_author</code>,<code>comment_author_email</code>,<code>comment_author_url</code>,<code>comment_date</code>,<code>comment_date_gmt</code>,<code>comment_content</code>) VALUES (1,'Mr WordPress','','http://wordpress.org/','2016-01-06 18:03:27','2016-01-06 18:03:27','Hi, this is a comment.\nTo delete a comment, just log in and view the post's comments. There you will have the option to edit or delete them.')
    
    WordPress database error: [Table 'blogs2.wp_posts' doesn't exist]
    INSERT INTO <code>wp_posts</code> (<code>post_author</code>,<code>post_date</code>,<code>post_date_gmt</code>,<code>post_content</code>,<code>post_excerpt</code>,<code>post_title</code>,<code>post_name</code>,<code>post_modified</code>,<code>post_modified_gmt</code>,<code>guid</code>,<code>post_type</code>,<code>to_ping</code>,<code>pinged</code>,<code>post_content_filtered</code>) VALUES (0,'2016-01-06 18:03:27','2016-01-06 18:03:27','This is an example page. It\'s different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It might say something like this:\n\n<blockquote>Hi there! I\'m a bike messenger by day, aspiring actor by night, and this is my blog. I live in Los Angeles, have a great dog named Jack, and I like piña coladas. (And gettin\' caught in the rain.)</blockquote>\n\n...or something like this:\n\n<blockquote>The XYZ Doohickey Company was founded in 1971, and has been providing quality doohickeys to the public ever since. Located in Gotham City, XYZ employs over 2,000 people and does all kinds of awesome things for the Gotham community.</blockquote>\n\nAs a new WordPress user, you should go to <a href=\"https://dev.sub.domain.com/TEST/3.6/wp-admin/\">your dashboard</a> to delete this page and create new pages for your content. Have fun!','','Sample Page','sample-page','2016-01-06 18:03:27','2016-01-06 18:03:27','https://dev.sub.domain.com/TEST/3.6/?page_id=2','page','','','')
    Success!
    
    WordPress has been installed. Were you expecting more steps? Sorry to disappoint.
    Username 	wpadmin
    Password 	Your chosen password.

    The latest version 4.4 installed just fine…

    Any suggestions?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    What version of MySQL are you running? Also, why are you installing WordPress 3.6?

    Thread Starter nando99

    (@nando99)

    MySQL version: 5.7.9-enterprise-commercial-advanced through PHP extension MySQLi

    We have an old WP multisite that was not maintained very well so we took it down and moved it to a dev environment. I’ve gone through the database and changed all references of the old url to the new url and now I get a redirect loop… So I’d like a clean 3.6 to try to troubleshoot my issue.

    thanks

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Ah, there’s the problem. WordPress 3.6 doesn’t support MySQL 5.7.9.

    The highest stable MySQL version at the time of 3.6’s release was MySQL 5.5.20.

    In this case, I’d suggest trying a manual upgrade to WordPress 4.4.1 on the dev environment: https://codex.wordpress.org/Upgrading_WordPress_Extended

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘can't install 3.6 – DB errors’ is closed to new replies.