|
how to create a user that has access priv to mysql in rh 9.0?
hi,
i am creating a simple web based database with mysql, php, and apache in rh 9.0.
i use this inside the php script that i am making:
$connection = mysql_connect("localhost", "root", "mypasswd");
i would like to create another user that has access priviledges to mysql because its not good to user root right?
i tried to make one user a member of the mysql group and here is what happened... the user can "connect" to mysql, but he cannot select a database...
mysql_select_db("database", $connection);
now, how do i add the user "properly" such that he can do everything in mysql (without considering root of course)
thanks...
|