Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 1 of 10 1 2 3 ... LastLast
Results 1 to 15 of 140
  1. #1
    Member
    Join Date
    May 2006
    Location
    Morocco
    Posts
    145
    cPanel/Enkompass Access Level

    Root Administrator

    Default add MySQL Disk Space in user quota space

    hello all

    i want to make the MySQL Disk Space part of the user quota , for example if the disk space used is 100 mb and the mysql disk space is 200 mb and the package assigned to the use is 250 mb , it must show a over quota of this user .

    to vote for this feature please go to

    http://bugzilla.cpanel.net/show_bug.cgi?id=6119

    thanks in advance
    Last edited by activa; 11-24-2007 at 10:43 AM. Reason: adding link for fuature votes

  2. #2
    Member
    Join Date
    May 2006
    Location
    Johannesburg, South Africa
    Posts
    881

    Default

    It should be doing that by default, MySQL & Email space is part of the account
    • cPanel :: Fantastico :: RVSkin :: WHM :: ModernBill
    • Reseller Hosting :: SSL Certificates :: Domain Registrations :: Affiliate Program
    • Blog Hosting :: CMS Hosting :: Forum Hosting :: E-Commerce Hosting
    SoftDux- The Leaders in Software
    Use the coupon: cpanel-06 to get 20% off our packages

  3. #3
    Registered User
    Join Date
    Mar 2007
    Posts
    1

    Default

    Yes. My friend its defaults cpanel.

  4. #4
    Member
    Join Date
    Dec 2003
    Location
    France
    Posts
    300
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by SoftDux View Post
    It should be doing that by default, MySQL & Email space is part of the account
    Actually, it is not. Emails are part of the account but mysql is not. Mysql files are not owned by the user but by mysql...

    Just an example :

    Disk usage 103.02 / 500.00 MB
    MySQL Disk usage 495.50 MB
    Disk space available 396.98 MB
    Last edited by yapluka; 03-10-2007 at 01:17 PM.
    Marie - Co-Owner
    Need Further Assistance ? Here you go !
    English, french and spanish support

  5. #5
    Member
    Join Date
    May 2006
    Location
    Morocco
    Posts
    145
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by yapluka View Post
    Actually, it is not. Emails are part of the account but mysql is not. Mysql files are not owned by the user but by mysql...

    Just an example :

    Disk usage 103.02 / 500.00 MB
    MySQL Disk usage 495.50 MB
    Disk space available 396.98 MB
    you're right .

    how to get the mysql espace part of the user acccount ?

  6. #6
    Member
    Join Date
    Dec 2003
    Location
    France
    Posts
    300
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    The problem is that the mysql files are not owned by the username. There is not much that we can do from our side and your best option would be to contact directly cPanel support and/or add it to bugzilla.cpanel.net.

    This would be a nice improvement
    Marie - Co-Owner
    Need Further Assistance ? Here you go !
    English, french and spanish support

  7. #7
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,768
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by yapluka View Post
    The problem is that the mysql files are not owned by the username. There is not much that we can do from our side and your best option would be to contact directly cPanel support and/or add it to bugzilla.cpanel.net.

    This would be a nice improvement
    MySQL itself does not support filesystem quotas. There are various ways to coax (read: force) the system to use filesystem quotas with MySQL databases, but none work very well, and there are trivial ways to bypass the quotas with a default MySQL configuration.

  8. #8
    Member
    Join Date
    Dec 2003
    Location
    France
    Posts
    300
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by cpanelkenneth View Post
    MySQL itself does not support filesystem quotas. There are various ways to coax (read: force) the system to use filesystem quotas with MySQL databases, but none work very well, and there are trivial ways to bypass the quotas with a default MySQL configuration.
    So what ? Does this mean that the mysql space will never count under the user quota, even with cPanel 11 ?
    Marie - Co-Owner
    Need Further Assistance ? Here you go !
    English, french and spanish support

  9. #9
    Member
    Join Date
    Dec 2003
    Location
    France
    Posts
    300
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    That's cool news ! Thank you Kenneth !
    Marie - Co-Owner
    Need Further Assistance ? Here you go !
    English, french and spanish support

  10. #10
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,768
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by yapluka View Post
    Does this mean that the mysql space will never count under the user quota, even with cPanel 11 ?
    NO. They will count toward quota

  11. #11
    Member
    Join Date
    Mar 2007
    Posts
    8

    Thumbs up

    Hello friends,

    The space used by mysql of an account will come under the quta of that account.

    But we cant fix a particular quta to mysql.

    The cpanel setting is llike that . mysql can use any amount of space available from an account.

  12. #12
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Well, you can use /scripts/updatemysqlquota which will then charge the space to the quota as it simply chowns the mysql table files. However, there are some major problems in doing this:

    1. If any cPanel accounts runs out of quota, MySQL will break

    2. You have to run the script on a regular basis as it will need to chown newly created MySQL databases/tables
    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

  13. #13
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,768
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    I think he means having a separate quota for databases, much as there are for email accounts. This *might* be possible with some of the methods we're investigating for database quota enforcement.

  14. #14
    Member
    Join Date
    May 2006
    Location
    Morocco
    Posts
    145
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by cpanelkenneth View Post
    I think he means having a separate quota for databases, much as there are for email accounts. This *might* be possible with some of the methods we're investigating for database quota enforcement.
    yes, that is the idea .

    account espace = email quota + mysql quota + espace quota .

    exaple 1 :

    account espace : 500 mg ;
    email quota : 10 mg ;
    mysql quota : 120 mg ;

    Disk space available = (500 -10 - 120) = 370 mg .

    exaple 2 :

    account espace : 500 mg ;
    email quota : 10 mg ;
    mysql quota : 520 mg ;

    Disk space available = (500 -10 - 520) = -30 mg . (quota exceced ).

  15. #15
    Member
    Join Date
    Aug 2006
    Posts
    12

    Default

    Why would you want to divide the quota up like that anyway? /just curious.
    Enterprise Class Web Hosting at www.GlitterHost.com

+ Reply to Thread
Page 1 of 10 1 2 3 ... LastLast
Similar Threads & Tags
Similar threads

  1. add mailman's disk space in user quota space
    By fleksi in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-02-2007, 02:08 AM
  2. Account disk space quota missmatch
    By aida in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 10-31-2006, 06:59 AM
  3. Displayed Disk Space Quota Bug?
    By Pat H in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-11-2005, 10:54 AM
  4. Replies: 1
    Last Post: 08-04-2005, 03:39 PM
  5. How to change the default disk space quota
    By sln3 in forum New User Questions
    Replies: 1
    Last Post: 02-17-2005, 11:58 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube