RE: [PHP-INST] PHP w/ MySQL
| From: | Nick Gianakas | Date: | Thu, 30 Jan 2003 16:17:03 +0000 |
| Subject: | RE: [PHP-INST] PHP w/ MySQL | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-9895@lists.php.net to get a copy of this message | ||
On Thu, 2003-01-30 at 11:05, Matt Schroebel wrote:
> >
> > 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.
You are right, I should upgrade. I would like to get Apache-PHP-MySQL
working first, unless it's the cause of my problem.
> Now, I don't know the answer, but where is mysql getting 'nimble' from?
nimble is the name of my machine.
> Shouldn't that be localhost as you show you provided?
> Do you have a host entry for localhost?
If you're referring to /etc/hosts, yes I do.
These are the contents of my hosts file:
127.0.0.1 nimble localhost.localdomain localhost
192.168.1.5 nimble
> Quick & Dirty you could add rights to nimble your user.
I don't follow. Add rights for my database user in MySQL explicitly for
nimble?