Commit 748bd4ef authored by tbrehm's avatar tbrehm
Browse files

No commit message

No commit message
parent 76ada3e6
......@@ -33,6 +33,9 @@ require("/usr/local/ispconfig/server/lib/");
// Delete the ISPConfig database
// $app->db->query("DROP DATABASE '".$conf["db_database"]."'");
$app->db->query("DELETE FROM mysql.user WHERE User = 'ispconfig'");
exec("/etc/init.d/mysql stop");
exec("rm -rf /var/lib/mysql/".$conf["db_database"]);
exec("/etc/init.d/mysql start");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment