Update 'Magicbox external database setup'
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user