Search code examples
mysqlchecksum

Hash MySQL database schema


I would like to make a hash / signature of MySQL database schema (without data), in order to have a checksum of it, to ensure it is not modified by others.

How can I achieve it ?


Solution

  • You need table checksum as far as I understand your question:

    checksum table `table`
    

    so, just make a checksum of an empty table, I guess