Compatible Support Forums: Mysql connection not working

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Mysql connection not working

#1 User is offline   joel10 

  • stranger
  • Group: Members
  • Posts: 1
  • Joined: 03-February 05

Posted 03 February 2005 - 10:44 AM

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.


0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users