Re: Restarting MySQL server with Php script
| From: | Vahan Yerkanian | Date: | Tue, 08 Aug 2000 14:24:38 +0000 |
| Subject: | Re: Restarting MySQL server with Php script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-10656@lists.php.net to get a copy of this message | ||
Hi CDitty
Maybe what you want is just to flush the privileges tables?
You can do that using
$result = mysql_query("FLUSH PRIVILEGES");
This is quite useful for adding more mysql users, changing
permissions, etc.
just in case...
--
Vahan Yerkanian Email: vahan@design.am
Leading Web Developer / Designer Phone: (374) 158-2723
Web Development Department Fax: (374) 128-5082
ARMINCO Global Telecommunications http://www.arminco.com
CDitty wrote:
>
> Anyone know how to restart the Mysql server using a php script? Preferred
> method would be to call a shell command that would handle this.
>
> Thanks
>
> CDitty
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net