Postgres Database instead of MySQL

Issue Summary

Is it possible to use PostgresSQL as the default database?

Troubleshooting Questions

I am currently building a Laravel site that requires Postgres as a database. Is this possible to implement using Local? I could install and set up Laravel Valet to do this but as Local is my main local environment it would be good to keep the site within Local.

I have Laravel up and working by adding the local socket to the config, so I’m hoping using Postgres would be the final hurdle.

Any ideas or tips would be greatly appreciated.

Thanks

Hey @david.fravigar – Welcome to the Local Community Forums!

There isn’t any way of doing this only within Local. You might be able to manually install postgres using something like Homebrew and then update the config/database.php file with the connection info that you need.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.