It seems the only way I can get mysql_select_db to work is to actually add a
blank user to the msyql.db table with appropiate privileges.



> Yes, I have a root password.
> No, I do not use root to run the server or connect to the database.
> Yes, I do have the user apache in the grant tables for mysql with
> permissions for the specific database.
> Yes, I can run querys against said database and connect with user apache
> with no problems.
>
> Only msyql_select_db will not connect, it claims I am trying to use a
blank
> user, even though I specifically connect earlier with mysql_connect with
the
> specific user with no problems..
>
>
> > Hello trlists,
> >
> > Friday, March 12, 2004, 6:48:03 PM, you wrote:
> >
> > tcc> Agreed, as long as he's not connected so someone can try to connect
> to
> > tcc> the MySQL port.
> >
> > If he's connected that long and not running a firewall, he deserves it
> > ;)
> >
> > -- 
> > 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
> >
>
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

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

Reply via email to