i create 400M
AS I KNOW it include website+mysql.
but i see
Disk usage 200 Megabytes
SQL Disk usage 200 Megabytes
Disk space available 200 Megabytes
it is no include mysql.
how can i make it include mysql
i create 400M
AS I KNOW it include website+mysql.
but i see
Disk usage 200 Megabytes
SQL Disk usage 200 Megabytes
Disk space available 200 Megabytes
it is no include mysql.
how can i make it include mysql
wrong?
wrong?
wrong?
MySQL databases are owned by root (or whatever use the MySQL daemon is running as).
That's why it's not counted in the user quota.
is there anyway to fix this??
I mean all of the db are named username_dbname so surely it should be possible????
I would also like to know if there is a way to include mysql usage on account usage. If there is no way to do it, is cpanel planning on do something like this on a near future ?
Originally Posted by cafrale
very very very impostant find a solution
Yes this is a problem.. Have a customer that has filled var because his db's are so huge, larger than his entire account is supposed to be.. but since this quota system still suffers this cpanel doesn't do anything about it.
They have. They've given you the option of running /scripts/updatemysqlquota
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Well, searching the forums was worthwhile.Originally Posted by chirpy
Should we set this up in crontab? If so, how often is reasonable? Daily? Weekly? Just before the billing run?![]()
Personally, I run it daily to be sure that any new d/b's are chowned appropriately. If you ran it weekly or monthly users might get a nasty shock if they've rapidly filled a new d/b.
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Just run /scripts/updatemysqlquota, but mysql still not count into quota.Originally Posted by chirpy
How to put mysql space into quota?
A couple of possibilities:
1. Did you wait for the disk cache to expire? (15 minutes, IIRC)
2. Do you have quotas enabled on the partition that contains /var
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
There is 1 large issue with having the user owning mysql databases. If the user hits disk quota, then mysql fails for the entire server.
This is why we do not have this enabled by default.
Indeed. It was nicely illustrated in this thread recently:
http://forums.cpanel.net/showthread.php?t=46759
Shame that MySQL haven't considered quota'ing in a shared LAMP environment.
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Ouch! I've just run /scripts/updatemysqlquota - but now I've read the above, I think I want to 'undo' this. Can I?Originally Posted by cPanelBilly
Thanks.
- Web Design Perth .:. Itomic Business Website Solutions of Perth, Western Australia