Update 'Magicbox external database setup'

master
MagicBot 3 years ago
parent
commit
4d71c04dcc
  1. 14
      Magicbox-external-database-setup.md

14
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` `$ 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!

Loading…
Cancel
Save