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

maksud's avatar

Install database when deploy app to server

Hi, I want to setup database install when install the laravel app in the server.

Providing database information and click to run, then database will configure.

0 likes
1 reply
bobbybouwmann's avatar

What have you tried so far?

In general, you simply perform a raw MySQL command that greatest the database for you. You can do it with Laravel if you make a custom command and perform that command on the server and then migrate the database with the new credentials.

Please or to participate in this conversation.