tbrehm
2007-07-02 fb7155ee62378452427991fed3d7911100bb2552
install/update.php
@@ -71,7 +71,7 @@
// Database update is a bit brute force and should be rebuild later ;)
// export the current database data
system("mysqldump -h $conf[mysql_server_host] -u $conf[mysql_server_ispconfig_user] -p$conf[mysql_server_ispconfig_password] -c -t --add-drop-table --add-locks --all --quick --lock-tables $conf[mysql_server_database] > existing_db.sql");
system("mysqldump -h $conf[mysql_server_host] -u $conf[mysql_server_ispconfig_user] -p$conf[mysql_server_ispconfig_password] -c -t --add-drop-table --all --quick $conf[mysql_server_database] > existing_db.sql");
// Delete the old database
exec("/etc/init.d/mysql stop");