Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Oct 2003
    Posts
    87

    Default mysql access hosts - error

    Hi,

    When adding an Access Host through the cPanel/MySQL section... cPanel does create a user@xxx.xxx.xxx.xxx for each MySQL Username on that account.

    It is not GRANTing privilege's to any of the databases in that user's account though.

    In other words... Trying to run MySQL queries from the remote host setup as an access host does not work.. because even though that remote host is allowed to connect.. it does not have permission to connect to any Database.

    I can easily fix this by logging into the Root PHP MyAdmin, and granting permissions for that remote host.... but I didn't have to do this in the past.

    Server / Version : WHM 10.8.0 cPanel 10.9.0-R79 CentOS 4.4 i686


    If anyone has similar problems, or if anyone knows how to fix this... Please let me know. This is getting very frusturating as clients hosted by me now have to contact us to manually GRANT their access hosts permission to their databases.

  2. #2
    Member
    Join Date
    Nov 2005
    Posts
    9

    Default

    I'm running into the same problem, If you add a new host, you need to delete the user's access to the database, and then re-create the user, or as the OP said, manually run the GRANT option.

  3. #3
    Member
    Join Date
    Oct 2003
    Posts
    87

    Default

    I figured out the removing the user from a database and then adding him back the other day as well..

    Still, it's not working quite like it used too. When you used to add an access host... it would automatically do the GRANTS for all the existing user/databases pairs for the new access host.

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

    Root Administrator

    Default

    Thanks for that. Created bug report: http://bugzilla.cpanel.net/show_bug.cgi?id=4916

    You can also get around this by re-granting rights for a user to access a given database.

  5. #5
    Member fenixer's Avatar
    Join Date
    Feb 2007
    Posts
    92

    Unhappy

    WHM 10.8.0 cPanel 10.9.0-R118

    and still the same error....... is this the way bugzilla fixes cpanel scripts at next releases (see bugzilla entry)????

    (the problem is there from WHM 10.8.0 cPanel 10.9.0-R79, at least)


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

    Root Administrator

    Default

    Your version of cPanel is out of date. Please do not report issues until you confirm they still exist in the latest version of the branch you are using.

Similar Threads & Tags
Similar threads

  1. Mysql Access Hosts - How to disable?
    By redlorry919 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-24-2006, 08:15 AM
  2. Setting Up MySQL Access Hosts
    By matsko in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-23-2005, 06:29 PM
  3. mysql access hosts
    By BattousaiX in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-06-2005, 04:06 AM
  4. mySQL Access Hosts
    By ukhost in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-03-2003, 01:39 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube