Welcome Guest, Not a member yet? Register   Sign In
Using database failovers
#1

I'm trying to define a database failover in my .env file, but I'm not sure I've got the syntax for env files. I'm using it like:

database.default.failover.hostname = localhost
database.default.failover.port = 3306
...

When the main DB fails, I get the whoops message but it never seems to try to connect to the failover.
Designer, developer and Diet Dr. Pepper addict. Messing up PHP since <?= $when['year';] ?>
Reply


Messages In This Thread
Using database failovers - by jameslittle - 03-05-2020, 10:21 PM
RE: Using database failovers - by John_Betong - 03-05-2020, 10:44 PM



Theme © iAndrew 2016 - Forum software by © MyBB