Re: Access denied for user: 'ODBC@127.0.0.1'. Dreamweaver MX

From: Date: Fri, 20 Jun 2003 21:30:37 +0000
Subject: Re: Access denied for user: 'ODBC@127.0.0.1'. Dreamweaver MX
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-20470@lists.php.net to get a copy of this message
Thanks, I have the username and password entered in mySQL for that specific table and also in the php file at $username_storeunclesam .... so on, the same username and password, however I have this ODBC issue. What else might be wrong? THANKS. ildiko ----- Original Message ----- From: "Stephen" <stephen.edmonds5@btinternet.com> To: "Ildiko Nyari" <ildiko.nyari@earthlink.net> Cc: "Windows Helplist (PHP)" <php-windows@lists.php.net> Sent: Friday, June 20, 2003 5:26 PM Subject: Re: [PHP-WIN] Access denied for user: 'ODBC@127.0.0.1'. Dreamweaver MX > ODBC I believe is the default connection name when none is specified. You > have the code mysql_pconnect($hostname_storeunclesam, > $username_storeunclesam, $password_storeunclesam), but have you set a value > to all the variables? You need to set $username_storeunclesam and > $password_storeunclesam to the username and password used for your MySQL > account. > > Stephen > > P.S. This is very much a PHP issue, as it is to do with php connecting to > MySQL rather than MySQL itself. "If you don't have something useful to say, > don't say anything!" > > ----- Original Message ----- > From: "Ildiko Nyari" <ildiko.nyari@earthlink.net> > To: <php-windows@lists.php.net> > Sent: Friday, June 20, 2003 9:27 PM > Subject: [PHP-WIN] Access denied for user: 'ODBC@127.0.0.1'. Dreamweaver MX > > > Does anybody have a clue about this? > I get this error message: > > Warning: mysql_pconnect(): Access denied for user: 'ODBC@127.0.0.1' (Using > password: NO) in C:\Program Files\Apache > Group\Apache2\htdocs\www\Connections\storeunclesam.php on line 9 > Access denied for user: 'ODBC@127.0.0.1' (Using password: NO) > > > and line 9 is: > > $storeunclesam = mysql_pconnect($hostname_storeunclesam, > $username_storeunclesam, $password_storeunclesam) or die(mysql_error()); > in the Connections file. > > Do you have any guess? > thanks. > > >

« previous php.windows (#20470) next »