Kyle,
If you are absolutely sure that your username and password is
correct.......You are sure arn't you ?
Try changing "P500.MSHOME.NET" to either "localhost" or "127.0.0.1"
Most likely the MySQL admin dude has set it so that you can only connect to
MySQL from the machine itself
Andy
----- Original Message -----
From: "Kyle Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 05, 2001 11:59 PM
Subject: [PHP] mySQL wont connect
Well it wont!
i get the error message
"Warning: MySQL Connection Failed: Access denied for user: 'test@P500'
(Using password: YES) in C:\apache\htdocs\php+mysql\connect.php on line 2
Could not connect"
When using
"<?php
$link = mysql_connect ("P500.MSHOME.NET", "test", "pass")
or die ("Could not connect");
print ("Connected successfully");
?>"
Please tell me its omething really simple.... please!
-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!
ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]