On Tue, 2004-07-06 at 15:55, Long Nguyen wrote:
> The first thing that pops up is an error that says,
> "MySQL Error # 1045 in function db_connect Access
> denied for user: 'apache@localhost' (Using password:
> NO) & click "OK" to close it.
>
>
> I then get this one line error message displayed on
> the top of the browser:
>
> Warning: Access denied for user: 'apache@localhost'
> (Using password: NO) in
> /var/www/html/keystone2/mysql.php on line 15
I refer you to the FAQ, Question 5:
---------------------------------------------------------------------
Q5: I've installed MySQL, but I keep getting "you have no permission to
access this table" or some similar security issue. How do I
get it working?
A: MySQL is very touchy about access configurations in its 'grant' tables,
and they can be very difficult to get right. If your security
model allows it, try running 'mysqld' with '--skip-grant-tables'.
If that works, then everything but your grant tables is configured
properly.
Another issue that comes up is that the MIT pthreads library
frequently doesn't allow 'localhost' as a target host for the connect
function. Put in a FQDN, and try again.
--
-------------------. .-----------
Dave Belfer-Shevett \ Conference Management Solutions \ Stonekeep
dbs@... \ http://www.stonekeep.com \ Consulting
---------------------' 978 239 5902 `------------