On Sat, 16 Mar 2002 11:23:05 -0600
"Randall Hobbs" <[EMAIL PROTECTED]> wrote:

> Hi guys... I've got a little problem I'm sort of perplexed about. I have PHP 
>compiled on my system with MySQL support. PHPINFO shows the MySQL support 
>(http://www.expert-html.com/phpinfo.php). but it sure doesn't appear to be there.
> 
> MySQL works fine, as I can connect through DBI on the Perl side with no problems 
>whatsoever. Whenever I try to connect via PHP, it gives me this error:
> 
> Warning:  Access denied for user: 'root@localhost' (Using password: NO) in mysql.php 
>on line 13
By default, user root is not able to connect via localhost and don t have to :). But 
in the case you really need ( an admin every for your db will be a better idea), you 
have to change the permissions for the root user ( see mysql permissions chapter in 
mysql doc).


hth

pa

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

Reply via email to