Make sure your database tables are correctly defined. Use phpMyAdmin and look at the structure of your tables and make sure they agree with [[Database_Description/2.2]].
In particular, make sure the tables with auto increment reflect that in your database tables.
I’ve noticed that my old Information_schema had 16 tables.
My new Infomation_schema has 17, the new one being “profiling”. Is that the problem? If so, what should I do?
profiling isn’t a table that is part of the WordPress core tables. Maybe from a plugin.
I am in phpmyadmin, but I am unsure how to know if my tables “agree” with database_description/2.2. Where is that found?
Problem solved! I uploaded my backup .sql file and linked the config.php file to the new database and now it works!
Thank you for your help Michael!