I’ve had the same issue and the problem was that some db fields didn’t have default values. Don’t know where that comes from, but it’s easy to fix. Just enable Debug mode and you will see which queries fail, then just manually update the tables with a default value.
ALTER TABLE wp_posts CHANGE COLUMN post_mime_type post_mime_type VARCHAR(100) NOT NULL DEFAULT '';
Hope this will fix it for some people.