2 # Terminate several mysql connections
4 require './mysql-lib.pl';
5 &error_setup($text{'kill_err'});
6 $access{'perms'} == 1 || &error($text{'kill_ecannot'});
9 @d = split(/\0/, $in{'d'});
10 @d || &error($text{'kill_enone'});
13 &execute_sql_logged($master_db, "kill $d");
15 &webmin_log("kill", undef, scalar(@d));
16 &redirect("list_procs.cgi");