problem connecting to MySQL using php!!!

  science wiz 16:45 06 Aug 2006
Locked

i've successfully installed apache, php, and MySQL. the php pages process well but when i try to access mysql i get acess denied!

what may be my fault.

this is my connection string:
?php
mysql_connect("localhost", "henry", "mission") or die ("could not connect to database");
mysql_select_db("guestbook") or die ("Could not select database");
?>

this is my server info:
Server=C:/Program Files/xampp/mysql/bin/mysqld-nt.exe
user=henry
password=mission

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Xiaomi Mi Mix 2 review

What went wrong at the Designs of the Year 2017

iPhone X news: Release date, price, new features & specs

Comment créer, modifier et réinitialiser un compte Apple ?