On Tuesday, June 25, 2002, at 03:27  PM, Phil Schwarzmann wrote:

> Now, whenever my script runs a MySQL command, I get this error....
>
> Warning: MySQL Connection Failed: Access denied for user: 'root@MY_PC'
> (Using password: YES) in C:\...\dbconnect.inc on line 3
> Cannot connect to The Database.

You need to grant privileges to log in as root remotely, which is 
probably not recommended.  Basically a GRANT statement that lets people 
access MySQL as root from your IP address.

Better to create a new user (such as "phpuser" or something) and enable 
that one instead.



Erik



----

Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to