Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Mar 2004
    Posts
    91

    Arrow mysql connecting to local domain - access denied

    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. #2
    Member
    Join Date
    Mar 2006
    Posts
    378

    Default

    does www.yourclientdomain.com resolve to the new server IP or old IP?
    Tweakservers | Professional Server Setup & Security Hardening
    Authorised SmarterTools Reseller, SSL Certificate & TRUSTe Privacy Policy

  3. #3
    Member
    Join Date
    Mar 2004
    Posts
    91

    Default

    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?

Similar Threads & Tags
Similar threads

  1. Replies: 3
    Last Post: 02-06-2011, 12:51 AM
  2. Access Denied in MySQL
    By caca990099 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-23-2004, 03:55 PM
  3. User MySql access denied
    By paralard in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-18-2003, 08:40 PM
  4. Connecting to MySQL @ local machine
    By iisnet in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-02-2003, 12:24 AM
  5. Users denied access to MySQL
    By Curious Too in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-01-2002, 08:49 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube