I had the same error but in my case I had about 1.5k records in the table.
I fixed it by resetting the AUTO INCREMEN like that:
ALTER TABLE `table_name` AUTO_INCREMENT = 1
More Related Contents:
- How to insert data to MySQL with auto-incremented column(field)?
- How does MySQL Auto Increment work?
- How to reuse auto_increment values? [duplicate]
- Reorder / reset auto increment primary key
- MySQL Trigger after update only if row has changed
- MySQL Query to select data from last week?
- Select last N rows from MySQL
- Difference Between Schema / Database in MySQL
- How can I modify the size of column in a MySQL table?
- MySQL InnoDB foreign key between different databases
- How to design a multi tenant mysql database
- SQL Order By Count
- Replace Into Query Syntax
- What resources exist for Database performance-tuning? [closed]
- How to connect to MySQL from the command line
- Remote connect to clearDB heroku database
- How to produce “phantom read” in REPEATABLE READ? (MySQL)
- MySQL foreign key to allow NULL?
- How to schedule a stored procedure in MySQL
- What’s the best way to migrate a Django DB from SQLite to MySQL?
- How to get multiple records against one record based on relation?
- What are the differences between the BLOB and TEXT datatypes in MySQL?
- What is the best way to store media files on a database?
- Native JSON support in MYSQL 5.7 : what are the pros and cons of JSON data type in MYSQL?
- Foreign key constraints: When to use ON UPDATE and ON DELETE
- How to use a user variables in MySQL LIKE clause?
- MySQL: how to do row-level security (like Oracle’s Virtual Private Database)?
- How to Get True Size of MySQL Database?
- MySQL: Computed Column
- How do I make a MySQL database run completely in memory?