We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83a707c commit 277d569Copy full SHA for 277d569
install/uninstall.php
@@ -32,7 +32,10 @@
32
require("/usr/local/ispconfig/server/lib/app.inc.php");
33
34
// Delete the ISPConfig database
35
-$app->db->query("DROP DATABASE '".$conf["db_database"]."'");
+// $app->db->query("DROP DATABASE '".$conf["db_database"]."'");
36
+exec("/etc/init.d/mysql stop");
37
+exec("rm -rf /var/lib/mysql/".$conf["db_database"]);
38
+exec("/etc/init.d/mysql start");
39
40
// Deleting the symlink in /var/www
41
unlink("/var/www/ispconfig");
0 commit comments