I have a MySQL database with 60 tables. Most tables have primary keys (expect pivot tables). All these primary keys had the AUTO INCREMENT attribute.
Then, overnight, somehow all the primary keys deleted this attribute, and the default value is 0.
I do not know what could cause this. Any suggestions?
source share