Hash MySQL database schema

后端 未结 2 961
臣服心动
臣服心动 2021-02-15 22:32

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 ach

2条回答
  •  半阙折子戏
    2021-02-15 23:20

    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

提交回复
热议问题