Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

bljdavidson's avatar

Forge — Change To/Add MySQL

So I've currently got a VPS that is set up with Laravel Forge. The default DB I selected to have installed was PostgreSQL. However, I have a need to install MySQL now and I can't seem to find a way of installing this alongside it or replace it. I don't particularly want to reformat my VPS and start again either.

Are there any solutions to this?

0 likes
2 replies
bobbybouwmann's avatar
Level 88

Yes indeed! You can't switch databases once this has been setup from Forge. However installing MySQL yourself shouldn't be a hard task and you can then simply use that, you can't manage it from the interface but it should work.

You can follow this tutorial to setup MySQL on your VPS: https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-18-04

Note: This is for ubuntu 18, there are also similar articles for ubuntu 16 and so on!

1 like

Please or to participate in this conversation.