RE: [PHP-INST] PHP w/ MySQL
| From: | Matt Schroebel | Date: | Thu, 30 Jan 2003 16:05:03 +0000 |
| Subject: | RE: [PHP-INST] PHP w/ MySQL | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-9894@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Nick Gianakas [mailto:ngianakas@lio.aacisd.com]
> Sent: Thursday, January 30, 2003 9:49 AM
> To: php-install@lists.php.net
> Subject: [PHP-INST] PHP w/ MySQL
>
>
> Hi All,
>
> I've been struggling w/ this problem for several months now
> on and off.
> I've exhausted my capabilities and would appreciate any help.
>
> The problem I'm having is using PHP to access a MySQL database through
> the web page.
>
> Version Info:
> PHP 4.3
> Apache 1.3.24
> MySQL 3.23.49a-1.
> Red Hat 7.2 (default 2.4.7-10 kernel)
You really ought to upgrade and patch apache and mysql. Both those
versions have holes.
> But I get an error:
> Warning: Access denied for user: 'dbuser01@nimble' (Using password:
> YES) in /home/.../index.php on line 7
Now, I don't know the answer, but where is mysql getting 'nimble' from?
Shouldn't that be localhost as you show you provided? Do you have a
host entry for localhost? Quick & Dirty you could add rights to nimble
your user.