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: MySQL Connection Failed: Access denied for user: '[EMAIL PROTECTED]'
(Using password: YES) in /var/www/html/dbid/mysql/database.php on line 17
Could not connect: Access denied for user: '[EMAIL PROTECTED]' (Using
password: YES)
---------------------------------


log in to your mysql server as root or some other sufficiently privileged account and execute:


grant select on *.* to [EMAIL PROTECTED] identified by 'yourpasswordhere';

this will let apache select from any table in any database. if you want to grant additional permissions or restrict anything then you should read the mysql manual for details of the GRANT command.

you don't need to restart or anything. the user/pw combo should be instantly available.

-jsd-



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to