Results 1 to 6 of 6

Thread: access denied

  1. #1
    skegee29@aol.com You Are Posting As A Guest - Please Register or Log In

    Default access denied

    i'm gettin this error page

    [Warning: mysql_connect() [function.mysql-connect]: Access denied for user user_playsta'@'localhost' (using password: YES) in /home/user/public_html/somdomain.com/ps2/Connect.php on line 4
    I cannot connect to the database because: Access denied for user user_playsta'@'localhost' (using password: YES)]

    can anybody help?
    Last edited by Matt; 10-16-2007 at 07:31 PM.

  2. #2
    Alexander's Avatar
    Alexander is offline Technical Analyst
    Join Date
    Jul 2007
    Posts
    1,883

    Default

    Hello, it seems that your db user has not enough permissions. You need to grant permissions for him in your Cpanel. If it doesn't help, open a trouble ticket for suppport and we'll take care of it.

  3. #3
    rlhanson's Avatar
    rlhanson is offline Master Glow Jedi
    Join Date
    Aug 2007
    Location
    Chapman, Kansas
    Posts
    531

    Default

    Skegee29 -
    When you create your user in cPanel - you also have to create permissions for the user.

    Also - someone may want to remove the actual user and path info from this thread for protection of his db!
    Thank you,
    Lynne Hanson
    RL Hanson-Online

  4. #4
    Matt's Avatar
    Matt is offline GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    6,236

    Default

    Usernames are a good thing to hide, but honestly, anyone can see the username on the server if they know how. Passwords are what need to be masked and he doesn't list his password, which is good. Also his server and domain are not listed which is another good thing. I am not even sure if this user is a GlowHost customer so the chances of the GP finding out how to connect to his DB is pretty slim.
    Send your friends and site visitors to GlowHost and get $125 plus bonus!
    GlowHost Affiliate Program | Read our Blog | Follow us on X |

  5. #5
    Matt's Avatar
    Matt is offline GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    6,236

    Default

    Oops I see the domain. Even still his MySQL server has to allow connections from foreign host IPs so he should be good to go, though i will edit his post per your suggestion.
    Send your friends and site visitors to GlowHost and get $125 plus bonus!
    GlowHost Affiliate Program | Read our Blog | Follow us on X |

  6. #6
    rlhanson's Avatar
    rlhanson is offline Master Glow Jedi
    Join Date
    Aug 2007
    Location
    Chapman, Kansas
    Posts
    531

    Default

    Thanks Matt - I just don't see any reason to give someone a "head-start" on accessing places they shouldn't be.
    Thank you,
    Lynne Hanson
    RL Hanson-Online

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14