The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Disable MySQL acces to cPanel username, Possible ?

Discussion in 'Security' started by QuentinC, Mar 4, 2014.

  1. QuentinC

    QuentinC Registered

    Joined:
    Jan 10, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Hi cPanel user, support,

    We have a lot beginners cPanel users who use cPanel username for connecting CMS like Joomla/WordPress... to access database and not MySQL (sub)user; It's really bad to make it !

    Is-it possible to disable MySQL access for cPanel account ? I think this access must be able for PHPmyAdmin in cPanel part, but somebody have a trick for do this ? :)

    Best regards.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    652
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can change the password for the MySQL username via:

    "WHM Home » SQL Services » Change MySQL User Password"

    However, you may want to open a feature request for the inclusion of an option to disable/modify the default MySQL username created with new accounts:

    Submit A Feature Request

    Thank you.
     
  3. quizknows

    quizknows Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    940
    Likes Received:
    55
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    This actually does raise a really good point, it's a pretty bad security risk when people use their cPanel username/password for a plain text db config file.

    Changing the cPanel users MySQL password to differ from the cPanel password should work as a workaround, as mentioned by Michael.
     
Loading...

Share This Page