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
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
Hello,
Friday, March 12, 2004, 6:38:37 PM, you wrote:
P> Yes, I have it configured to run as apache. But, as I mentioned, I have no
P> problems accessing the database and running querys against it, it is only
P> the mysql_select_db function that fails.
You mean you have no problems querying the
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/
4 matches
Mail list logo