TommyWillB
Registered
I've also cross-posted this to the Linux > PHP/mySQl section:
I followed this great turtorial on setting up mySQL: http://www.entropy.ch/software/macosx/mysql/
... I can do just about anything in the test database, but when I try to use a new database only _root_ can access it from PHP.
What magic do I have to perform to grant the user "mysql" read/write access to my database named "tommyb"?
Also, I'm not clear if I do or do NOT want to require that the password for "mysql" be passed from php as part of the mysql_conenct string. If I do, what is the command to make the password required on the mySQl side? (I think I already have the mysql user/encrypted password added to mySQL's mysql.user table correctly.)
Lastly, since I'm running PHP and mySQL on the same box, how do I limit the "mysql" user so that it can only conenct from localhost/127.0.0.1?
I followed this great turtorial on setting up mySQL: http://www.entropy.ch/software/macosx/mysql/
... I can do just about anything in the test database, but when I try to use a new database only _root_ can access it from PHP.
What magic do I have to perform to grant the user "mysql" read/write access to my database named "tommyb"?
Also, I'm not clear if I do or do NOT want to require that the password for "mysql" be passed from php as part of the mysql_conenct string. If I do, what is the command to make the password required on the mySQl side? (I think I already have the mysql user/encrypted password added to mySQL's mysql.user table correctly.)
Lastly, since I'm running PHP and mySQL on the same box, how do I limit the "mysql" user so that it can only conenct from localhost/127.0.0.1?