- Original Message -
From: "Jon Drukman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, August 20, 2003 9:28 PM
Subject: [EMAIL PROTECTED] Re: apache/mysql errors
> grant select on *.* to [EMAIL PROTECTED]
On Wed, 20 Aug 2003 10:52:35 -0700
"bruce" <[EMAIL PROTECTED]> wrote:
> I have added the mysql user/password to the php file. I can access mysql
> using the user/password from the linux command line.
What login & pass do you use in PHP and what login & pass do you use in command line?
Hmm..let me
bruce wrote:
Hi...
A mysql/Apache issue:
I get the following when I'm trying to run a test web site on an Apache
2.0/RH8.0 setup.
Warning: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES) in
/var/www/html/dbid/mysql/database.php on line 17
Warning
HI
from the command line run
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER
ON database_name.*
TO [EMAIL PROTECTED]
IDENTIFIED BY 'password';
(you may want to give more restrictive privileges)
that should fix it - you don't have privileges set for the user