MySQL error – Access denied. Please help – been stuck for 3 hours?

I am using a form to input data to a database using my uni web account.
It won’t work for some reason, can you help me?

My error shows as this:

An error occurred in script ‘…htdocs/includes/mysqli_connect.php’ on line 14: mysqli_connect() [function.mysqli-connect]: (28000/1045): Access denied for user ‘unn_s006202′@’localhost’ (using password: YES)

Date/Time: 3-22-2010 14:22:18

try using mysql_connect() and not mysqli_connect()

4 Responses to “MySQL error – Access denied. Please help – been stuck for 3 hours?”

  1. Alan R Says:

    Have you verified that you are using the correct password?
    References :

  2. Dexter Says:

    Looks like your username is the thing causing the probs, or the database is down.
    References :

  3. Paultech Says:

    well there is an issue in your script with how your connecting to the database, since it sounds like the database has no account for unn_s006202 so you would need to check the account file for your account. or the person who runs the mysql hosting.
    References :

  4. huh??? Says:

    try using mysql_connect() and not mysqli_connect()
    References :

Leave a Reply