Re: New users on mysql using php
| From: | Jason Wong | Date: | Fri, 26 Oct 2001 05:07:03 +0000 |
| Subject: | Re: New users on mysql using php | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-13740@lists.php.net to get a copy of this message | ||
On Friday 26 October 2001 05:29 am, Harpreet wrote:
> I do have root access and run the Grant command in Telnet.
>
> But what i want to do is have a web page called add_user.php. When
> the administartor adds a username and password i want that user to be
> granted all rights. I eman can i run the Grant statement in my php
> page and not on Telnet.
All the grants and access info are stored in the "mysql" database. You
can manipulate it directly to grant whatever you want. For the details
look in the manual.
regards
--
Jason Wong
Gremlins Associates
www.gremlins.com.hk