Re: MySQL Connect Problem

From: Date: Fri, 07 Jul 2000 23:56:58 +0000
Subject: Re: MySQL Connect Problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-5485@lists.php.net to get a copy of this message
In article <20000706191452.89118.qmail@hotmail.com>, jeffwilhelm@hotmail.com ("Jeff Wilhelm") wrote: > I am using a PHP script to connect to the database for user authentication > (using PHP4 Sessions BTW - woohoo!), except I'm having a bit of trouble > getting the connection to work. I receieve the following error message > (Access denied for user: '@localhost' to database 'C003703'), which leads > me > to believe that I'm having a problem with one of the following things: > > 1) i should not be connecting to localhost, but rather the exact mysql > address (mysqldb.[myhost].org -- although localhost should work. > 2) my username/password is incorrect, although that can't be it since MySQL > admin works fine through the web > 3) i am connecting to the wrong database. MySQL has some pretty flexible settings for access. It can deny/allow access by IP#, localhost, or username/password for any given database. Check with mysqladmin program to see what you've got set up. -- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)

« previous php.general (#5485) next »