I am developing a large database schema
that I desire to make available to clients.
I am new to MySql
database administration. How do I restore a .sql
file of the schema so that it also resets ALL auto incremental id columns back to 0
or Null
again.
I actually restored to a new schema name and inserted a test record and found the auto id columns were incrementing from where they left-off in the last schema name.
How do I address this in MySql
database modeling?
I want to always be able to 'spin-off' an exact copy of my current version data model for a paying customer.
Thank you.