Results 1 to 7 of 7
  1. #1

    Please help with this error?

    I uploaded a full functioning site on to my server.
    I followed the instructions, and ran the INSTALL.PHP. It stated that it was successfully installed. However, I go the following ERROR message…when I try the the address….

    Warning: mysql_connect(): Access denied for user: [email protected]' (Using password: YES) in /home/..blah ..blah/public_html/jobsite/conn.php on line 13
    Access denied for user: [email protected]' (Using password: YES)


    What do I need to do?

    Thanks

  2. #2
    Your MySQL login data specified in your script are wrong. Ensure you have the correct login data and try again.

  3. #3
    Join Date
    Jan 2005
    Location
    Baghdad, Iraq
    Posts
    172
    did you give the permissions for that user to the specified DB?
    The Dream is the blueprint of success, the hope is the budget and hard working is the achievement

  4. #4
    hi guys,

    Thanks for your help.

    Yes I did give the permissions ...

    I also set up the DB and set a User name, and a password and that is what I used but I am still bemused why it would not work.

    It asked for the url. I wanted to direct this to: a subdomain tried this and failed, then I tried the actual domain url..still failed. It implicitly asked for me not to used www.blah.com/....

  5. #5
    Join Date
    Nov 2004
    Location
    Ethelbert, MB, Canada
    Posts
    65
    That error is only caused when you can't login to mySQL.

    Make Sure:

    1. You have a valid mySQL Database.
    2. You have a valid MySQL Username/Password combination.
    3. You add that user, to the database.

    Now, if you are on a cPanel host, make sure to prepend your database name, and username with your account's username.

    For example, say my domain is example.com, and my username is example. Also, say that your mySQL DB's name is test, and the user is bleh.

    In this case, your MYSQL DB's name is: example_test
    Your MYSQL Username is: example_bleh

    If you still have trouble, post your config script, removing passwords, of course.

    Hope this helps,
    Christian
    Christian A. Herrnboeck ([email protected])
    MonteCarloHosting :: Advanced, Web 2.0, Business Class Hosting Solutions
    Shared, Reseller, Cloud, and Dedicated Solutions
    Backed by the World's Most Advanced Systems

  6. #6
    Join Date
    Mar 2004
    Posts
    1,301
    Quote Originally Posted by MonteCarloHosting
    That error is only caused when you can't login to mySQL.

    Make Sure:

    1. You have a valid mySQL Database.
    2. You have a valid MySQL Username/Password combination.
    3. You add that user, to the database.

    Now, if you are on a cPanel host, make sure to prepend your database name, and username with your account's username.

    For example, say my domain is example.com, and my username is example. Also, say that your mySQL DB's name is test, and the user is bleh.

    In this case, your MYSQL DB's name is: example_test
    Your MYSQL Username is: example_bleh

    If you still have trouble, post your config script, removing passwords, of course.

    Hope this helps,
    Christian
    normally, it is the username created on cpanel for this site, not the site name.

  7. #7
    Hi thanks for all your help.

    Finally got it sorted.

    Thanks

Posting Permissions

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