#!/usr/local/bin/perl
# start.cgi
# Start the MySQL database server

require './mysql-lib.pl';
&error_setup($text{'start_err'});
$temp = &tempname();
$rv = &system_logged("($config{'start_cmd'}) >$temp 2>&1");
$out = `cat $temp`; unlink($temp);
if ($rv) {
	&error("<pre>$out</pre>");
	}
sleep(3);
&webmin_log("start");
&redirect("");

