Hello.
I am using Easy php
i am trying to connect with the following code
<?php
$con = mysql_connect("localhost","admin","");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
// some code
?>
getting error as follows
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'admin'@'localhost' (using password: NO) in C:\Program Files\EasyPHP 2.0b1\www\test1.php on line 2
Could not connect: Access denied for user 'admin'@'localhost' (using password: NO)