MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: zhenhai on 2016-03-04, 04:20:14
-
after I add a domain for one client located in slave server, I found that no client_name.conf exist in /etc/php-fpm.d/ directory.
-
after I add a domain for one client located in slave server, I found that no client_name.conf exist in /etc/php-fpm.d/ directory.
I debug the code,and I found that
the call stack as follow:
web__lib.php ->createPhpFpmConfig ->getUserList
the issue is getUserList return empty array
-
Do you mean inside /etc/php-fpm.d/ ?.
-
Do you mean inside /etc/php-fpm.d/ ?.
YES
-
it seems that function getUserList excute
"select nname,cttype from client where syncserver = 'slave_ip'"
from mysql server located in salve instead of master.
-
it seems that function getUserList excute
"select nname,cttype from client where syncserver = 'slave_ip'"
from mysql server located in salve instead of master.
query from mysql located in slave return empty array, but query from master is right
-
I will investigate it.