Create a master/slave database configuration in laravel
To set up a master/slave database, perform the following steps from the command line.
The first step is to determine which address the MySQL server is bound to. To do this, locate the line of the MySQL configuration file that contains the bind-address parameter:
bind-address = 127.0.0.1
This IP address will be set to whichever IP address the master server uses.
This post is submitted by one of our members. You may submit a new post here.