Help
General ArrowChat talk that doesn't fit any other forum.
User avatar
kulturnilpferd
Customer
 
Posts: 6
Joined: 12 Jul 2019, 02:22

 

by kulturnilpferd 15 Jul 2020, 08:06

I have established a master slave mysql configuration and have added
Code: Select all
define('DB_SERVER_SLAVE_1','myserver'); 
define('DB_USERNAME_SLAVE_1','user'); 
define('DB_PASSWORD_SLAVE_1','password'); 
define('DB_NAME_SLAVE_1','database'); 
and set
Code: Select all
define('SLAVE_DATABASE', '1');
define('SLAVE_NUMBER', '1');
in config.php.
There are no querries incomming on the slave server (mysql -> show processlist).
When I browse your code I doesn't find the variables anywere else used...
Do you have removed these code from premium download and its just a placeholder?
When not, how to monitor and debug it due no querries are incomming (also nothing in /arrowchat/public/debug)?
User avatar
Jason
ArrowChat Team
 
Posts: 2160
Joined: 12 Dec 2009, 16:06

 

by Jason 15 Jul 2020, 12:49

Master/slave is business package only.