Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

mysql connecting to local domain - access denied

Discussion in 'General Discussion' started by Miss Jacky, Sep 12, 2006.

  1. Miss Jacky

    Miss Jacky Well-Known Member

    Joined:
    Mar 4, 2004
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    156
    Hi all,

    I am moving accounts to a new server (from fedora to freebsd). Some clients use 'www.theirdomain.tld' as mysql host in their connection scripts. This worked fine, but on the new server, this gives an Access denied for user '<username>'@'<serverhostname>'.

    Using '127.0.0.1' or 'localhost' to connect to works fine, but using a domain running on the same server, returning the main ip of the server, now gives this error.

    Any ideas how to make this work like before?
     
  2. tweakservers

    tweakservers Well-Known Member

    Joined:
    Mar 30, 2006
    Messages:
    379
    Likes Received:
    0
    Trophy Points:
    166
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Miss Jacky

    Miss Jacky Well-Known Member

    Joined:
    Mar 4, 2004
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    156
    Hi,

    The new one, triple checked :)

    Is there some sort of (optional?) mysql log in which I can find more information about the exact reason for denying access?
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice