Welcome Guest, Not a member yet? Register   Sign In
DB failover settings in .env file?
#1

The docs talk about a database 'failover' parameter, which is defined as an array within the main DB connection settings.

Is there a way to define failovers in an .env file? If so, what would that syntax be?

Is it as simple as doing it like?
database.default.failover.hostname = myserver.com
Designer, developer and Diet Dr. Pepper addict. Messing up PHP since <?= $when['year';] ?>
Reply


Messages In This Thread
DB failover settings in .env file? - by jameslittle - 06-04-2020, 06:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB