mysql - script that checks and compares table structures from different databases and sends alarm if different -


just wanted ask, want create script check table structures 2 databases ( must same). if different send email alert.

i have option of doing mysqldump , doing diff , databases huge. i've read maatkit, , other tools i'm not sure how proceed . can give direction , best tool.

i'd recommend using mysqldbcompare mysql utilities. it's official part of mysql product line. can diff structure or data or both. read documentation details these options.

you mention maatkit, toolkit replaced years ago percona toolkit (same people working on , same code, changed name). since then, mysql utilities have duplicated of tools in percona toolkit.


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -