Skip to content
Snippets Groups Projects
Commit 748bd4ef authored by tbrehm's avatar tbrehm
Browse files

No commit message

No commit message
parent 76ada3e6
No related branches found
No related tags found
Loading
......@@ -33,6 +33,9 @@ require("/usr/local/ispconfig/server/lib/app.inc.php");
// 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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment