Hello PHP,

Friday, March 12, 2004, 6:25:09 PM, you wrote:

P> OK, I do get the following error.
P> 1044: Access denied for user: '@localhost' to database 'mydatabase'

P> Even though I specify the user in mysql_connect, for some reason,
P> mysql_select_db is trying to user a blank user,
P> Any Ideas?

You said that you use "apache" as the username for MySQL - is this
something you've configured yourself? If not, it should be "root" and
the password should be blank unless you have also set that? In which
case it's missing from your connect command.

-- 
Best regards,
 Richard Davey
 http://www.phpcommunity.org/wiki/296.html

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to