It had nothing to do with the db setup.
When I removed some fields from the Registration page, I also removed the same fields from the mysql table. This, of course, doesn't work because those fields are still referred to in the code.
I reinstalled the users table, and everything now works fine.
Thanks for the help.