- Quotas: not directly supported by MySQL. you can emulate something using a file system that supports per-user-quote by setting file ownership to your users, and setting the quota per user at the OS level. note that by default InnoDB uses a single table file for all databases, but there is an option to tell it to use a file per table. however - note that there may be performance implications to this.
- Running multiple instances on the same machine is possible using a different configuration file for each server.
where at the very minimum, you will want to change those from from user to user:
[mysqld]
port=PORT_NUMBER
datadir=/home/USER/mysql
tmpdir=/home/USER/tmp/mysql
to start a sever, run:
mysqld_safe --defaults-file=user_specific_my.cnf
to stop a server, run:
mysqladmin -u root -pROOT_PASSWORD --port=3307 -h 127.0.0.1 shutdown
to connect to a server, a user should use:
mysql --port=USER_PORT -h 127.0.0.1 -pPASSWORD