Closed Thread
Results 1 to 5 of 5

Thread: mySQL rejecting connection

  1. #1
    cicobalico8879 is offline x10Hosting Member cicobalico8879 is an unknown quantity at this point
    Join Date
    Jan 2011
    Posts
    3

    mySQL rejecting connection

    Hi everybody.

    This morning while I was testing my php script for a simple log to mySQL on localhost (previously working), I received this error I'm posting. Being that I didn't change any permission and the credential I'm using have not been changed do you have any idea of what could be causing this?

    Is there any server update happening I'm not aware of?



    Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'myfaf'@'10.33.248.82' (using password: YES) in /home/myfaf/public_html/retrieve.php on line 7
    Could not connect: Access denied for user 'myfaf'@'10.33.248.82' (using password: YES)


    Thanks for your time, regards

    M.

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,633

    Re: mySQL rejecting connection

    It would not have worked before.

    DB usernames are of the format cPanelUsername_foobar
    Nothing is always absolutely so.

  3. #3
    cicobalico8879 is offline x10Hosting Member cicobalico8879 is an unknown quantity at this point
    Join Date
    Jan 2011
    Posts
    3

    Re: mySQL rejecting connection

    I thought so, that's why I created a couple of test users, gave them full access to the database I'm connecting to and rerun the script but the issue is the same (only changes the username obviously), any clue what else it could be?

  4. #4
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,633

    Re: mySQL rejecting connection

    If that is the error message you are using, you are not using one of the users you created.
    Nothing is always absolutely so.

  5. #5
    cicobalico8879 is offline x10Hosting Member cicobalico8879 is an unknown quantity at this point
    Join Date
    Jan 2011
    Posts
    3

    Re: mySQL rejecting connection

    Ok I deleted all the users and created a new one and gave just that the permissions. Everything is back to normal. Thank you for your patience, it was very useful and sorry for wasting your time.

Closed Thread

Similar Threads

  1. Password Error, Email Rejecting Signup
    By richavel in forum Free Hosting
    Replies: 3
    Last Post: 11-13-2009, 02:39 PM
  2. Password Error, Email Rejecting Signup
    By richavel in forum Free Hosting
    Replies: 1
    Last Post: 11-13-2009, 04:14 AM
  3. Yahoo rejecting mail sent through php
    By B5A5M5 in forum Programming Help
    Replies: 6
    Last Post: 08-06-2008, 03:29 PM
  4. Replies: 9
    Last Post: 01-10-2008, 03:16 AM
  5. rejecting username when sighning up
    By insert name here in forum Free Hosting
    Replies: 9
    Last Post: 11-06-2007, 03:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers