Hi!

Ok, here's my problem...

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'hjhwkhjrf'@'10.1.1.43' (using password: YES) in /home/a6653219/public_html/connect.php on line 12

(pw changed)


Lower part of connect.php..... $=line 12
// do not edit below this line!!
///////////////////////////////////////////////////////////////////////

    $dblink=MYSQL_CONNECT($MySqlHostname, $MySqlUsername, $MySqlPassword) or die("Could not connect to database");
    @mysql_select_db("$MySqlDatabase") or die( "Could not select database");

?>

otherwise all looks good.

Thanks,
duchaine

Recommended Answers

All 2 Replies

Access denied for user

The user does not have priviliges to login. What are you trying to do?

As it seems you are using a wrong user to connect, as the string says

hjhwkhjrf user ?

correct the login data, otherwise your commands are allright.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.