this is the error i get:
Warning: mysqli_connect() [function.mysqli-connect]: (28000/1045): Access denied for user 'admin'@'localhost' (using password: YES) in F:\Server\Apache2\htdocs\testsql.php on line 3
and line 3 is: $mysqli = mysqli_connect('localhost','admin','admin', 'demo');
mysql's username and password are 'admin' . I also tried using my Windows username and passsword. I didn't work either.
Im using Apache2, PHP5 and MySQL 4.1
Warning: mysqli_connect() [function.mysqli-connect]: (28000/1045): Access denied for user 'admin'@'localhost' (using password: YES) in F:\Server\Apache2\htdocs\testsql.php on line 3
and line 3 is: $mysqli = mysqli_connect('localhost','admin','admin', 'demo');
mysql's username and password are 'admin' . I also tried using my Windows username and passsword. I didn't work either.
Im using Apache2, PHP5 and MySQL 4.1