Change Database
Already have an active server with regions? Follow these steps to safely migrate your data.
- Prepare the new provider by filling in its connection details in config.yml.
- Save your changes and reload the configuration:
- Export your data to the new provider:
Replace
[provider]with your target provider (e.g.,MySQL,PostgreSQL) - Wait for the export to complete. Watch the console for progress messages.
- Stop your server completely.
- Update config.yml to change the
providervalue to your new provider. - Start your server. Homestead will now use the new database!