Changes of Revision 17
[-] [+] | Changed | mysql-proxy.spec |
[-] [+] | Added | mysql-proxy.cnf ^ |
@@ -0,0 +1,14 @@ +[mysql-proxy] +proxy-skip-profiling +proxy-fix-bug-25371 + +admin-address = localhost:4041 +admin-username = root +admin-password = pr0xYp455 + +proxy-address = localhost:3310 +proxy-backend-addresses = localhost:3306 +proxy-read-only-backend-addresses = localhost:3307,localhost:3308 + +log-file=/var/log/mysql/mysql-proxy.log +log-level = message | ||
[-] [+] | Changed | mysql-proxy.sysconfig ^ |
@@ -8,7 +8,7 @@ # Command line arguments to hand over to mysql-proxy # Normally: --daemon (run as background daemon) # -MYSQL_PROXY_ARGS="--plugin-dir=/usr/%LIB%/mysql-proxy/plugins --proxy-lua-script /usr/share/doc/packages/mysql-proxy/examples/tutorial-basic.lua" +MYSQL_PROXY_ARGS="--defaults-file=/etc/mysql-proxy.cnf --plugin-dir=/usr/%LIB%/mysql-proxy/plugins --proxy-lua-script /usr/share/doc/packages/mysql-proxy/examples/tutorial-basic.lua" ## Type: string ## Default: "/var/run/mysql-proxy.pid" |