Re: Re: *Cannot connect to db

From: Date: Wed, 18 Dec 2002 17:16:11 +0000
Subject: Re: Re: *Cannot connect to db
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-128751@lists.php.net to get a copy of this message
Well, you will laugh, but it worked. :)) Not really, the way you showed - I commented out the username and password and it worked! :)) Mang... So whose fall was it? Definitely not php, right?... okay. Thanks Gregory! :)) ----- Original Message ----- From: "Gregory Hernandez" <hernandg@newschool.edu> To: <man@xtati.com> Sent: Wednesday, December 18, 2002 6:05 PM Subject: [PHP] Re: *Cannot connect to db > just humor with this: > > try commenting out the lines > > $dbname = "marketingcompany"; > $hostname="localhost"; > > to appear as > > // $dbname = "marketingcompany"; > // $hostname="localhost"; > > i had the same problem you are having and for some reason which i still > don't understand, the solution i proposed above worked. i don't think > this is the correct way to solve this. but, for now (it was a project > for a class) i'll live with it. > > gregory > > > >>> "Alexey Lysenkov" <man@xtati.com> - 12/18/02 10:49 AM >>> > Warning: MySQL Connection Failed: Access denied for user: > 'tmc@localhost' > (Using password: YES) in e:\~~~\~~~\apache\website\~~~\testdb.php on > line 8 > > The guy at the support says, that everybody else can connect no > problems, > sent me the code, which I copy-pasted and I still have this error. :(( > > > > "Bastian Vogt" <bastian.vogt@komtel.net> wrote in message > news:3E0097BB.C7F7A1F8@komtel.net... > > Hi, > > > > leave out the "@", and give us the error message. > > "@" suppresses error messages of any function. > > > > HTH, > > Bastian > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#128751) next »