common_schema 1.2 is released! This version comes shortly after 1.1, yet contains quite a few interesting goodies:
- Account blocking
- Security audit
- RANGE partition management
- Slave status
- Better blocking and idle transaction management
- QueryScript goodies:
- echo, report
- while-otherwise statement; foreach-otherwise statement
- Better variable scope handling
- Complete support for variable expansion
- Transaction support within QueryScript
- More summary info and SQL statements in processlist-related views
A closer look at these follows:
Account blocking
A new view called sql_accounts, inspired by oak-block-account (also see here and here) provides with the means of blocking use accounts (and releasing them, of course) without revoking their privileges. It offers the SQL statements to block an account (by modifying its password in a symmetric way) and to release an account (by modifying its password back to normal). It really works like a charm. Together with killall() and sql_accounts this gives the administrator great control over accounts.
Security audit
Imported from openark kit, and implemented via QueryScript, the security_audit() procedure will audit your accounts, passwords and general settings to find problems, pitfalls and security hazards. I will write more on this later.
RANGE partition management
The sql_range_partitions view manages your RANGE and RANGE COLUMNS partitioned tables by providing with the SQL statements to drop oldest partitions and to create the next (in sequence) partitions. See my earlier post. Continue reading » “common_schema 1.2: security, partition management, processes, QueryScript goodies”