Re: I changed my root password and now can't connect to MySQL

From: Date: Tue, 25 Jun 2002 19:43:49 +0000
Subject: Re: I changed my root password and now can't connect to MySQL
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-103828@lists.php.net to get a copy of this message
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 pricee@hhbrown.com

« previous php.general (#103828) next »