You might see something like this is you move an existing WP database between machines.
This fix is pretty easy: looks like auto-increment isn’t in place when the new database is created. Odd, consider i dumped the old one with create statements.
/usr/local/bin/mysqldump wp -uwp -p –create-options=true –extended-insert=true > wp.dump
I thought that would, you know, create the tables with the same syntax/schema.
Now Playing: Are You A Hypnotist?? from the album “Yoshimi Battles The Pink Robots” by The Flaming Lips