MySQL Quota-Tool

The MySQL Quota-Tool helps you to set a size limit on MySQL databases.

It works by checking the size of each database and revoking the INSERT- and CREATE-priveleges for the databases, which exceed the given size limit.
When the size of the database falls below the given limit, the INSERT- and CREATE-priveleges are granted again.

This (of course) doesn't work for users who have global priveleges, because the quota is database and not user based, but in most environments privileges are given in the "db"-table which is modified by the MySQL Quota Tool.

Here is the source code:

You can also download the source code.
The General Public License can be found here.

Visit other projects on projects.marsching.org!

Imprint | Privacy Policy

© 2007 Sebastian Marsching