Hi,
I have a problem with mysql connection with php and iis. my coding is a simple one :
<?
$user = "user";
$pass = "pass";
$server = "localhost";
mysql_connect($server, $user, $pass) or die (mysql_error ());
?>
but when i run the file i will get this message: mysql_connect:(Access Denied for user: 'user@localhost'(Using password:YES) in line 6.Access Denied for user:'user@localhost' (Using password:YES)
how do i solve this problem? thanks in advance.
Page 1 of 1
Mysql connection not working
Share this topic:
Page 1 of 1

Help










