From 4d71c04dcc7e771d9eec3030dfaefbdd4576dc5d Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 9 May 2022 08:55:06 +0000 Subject: [PATCH] Update 'Magicbox external database setup' --- Magicbox-external-database-setup.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Magicbox-external-database-setup.md b/Magicbox-external-database-setup.md index cfdab60..c1ad475 100644 --- a/Magicbox-external-database-setup.md +++ b/Magicbox-external-database-setup.md @@ -33,3 +33,17 @@ Move that file onto the host either via mb.conf or docker cp. Restore the datab `$ mysql -u magicbox -p < mbdump.sql` +Edit the copy of magicbane.conf file reflecting your new database settings and place in mb.conf on the host directory. + +```console +# Database configuration settings. The supplied +# internal MySQL server is ephemeral! + +MB_DATABASE_ADDRESS="localhost" +MB_DATABASE_PORT="3306" +MB_DATABASE_NAME="magicbane" +MB_DATABASE_USER="magicbox" +MB_DATABASE_PASS="ArtyomWasHere" +``` + +Restart your container and you should in console_login and console_server see it using your new external database. Your world will now for to persist!