WordPress users table missing indexes

Sounds like the auto increment handling is not setup correctly.

Go into phpMyAdmin and make sure that the PRIMARY KEY is set to AUTO_INCREMENT

You can also run this SQL command:
ALTER TABLE wp_users AUTO_INCREMENT = 1

The 1 above you need to make sure the auto increment value is set to the highest number +1 in that table under id, see here for specifics on that:
Is it possible to fix/repair all Index, Primary Key, Unique (and all other) structure of a WordPress MS Database

You could also try starting from a fresh install and on import make sure you set it to update, as well as making sure when the db was exported by that person, under Structure that they select Add AUTO_INCREMENT values before exporting

https://cfdbplugin.com/?page_id=520

error code: 523