Re: proxy-read-only-backend-addresses
For more detailed information, below is starting mysql-proxy then checking the proxy_config:
[root@106260-dev1 init.d]# /usr/local/bin/mysql-proxy --proxy-read-only-backend-addresses=192.168.1.90 \
--proxy-backend-addresses=192.168.1.84 --daemon --pid-file=/var/run/mysql-proxy
[root@106260-dev1 init.d]# mysql -P 4041 -h 127.0.0.1
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 5.1.20-agent
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> select * from proxy_config;
+----------------------------+--------------+
| option | value |
+----------------------------+--------------+
| admin.address | :4041 |
| proxy.address | :4040 |
| proxy.lua_script | NULL |
| proxy.backend_addresses[0] | 192.168.1.84 |
| proxy.fix_bug_25371 | 0 |
| proxy.profiling | 1 |
+----------------------------+--------------+
6 rows in set (0.00 sec)
mysql>
as you can see, the read-only backend is completely ignored.
Subject
Views
Written By
Posted
11000
January 17, 2008 04:34PM
Re: proxy-read-only-backend-addresses
4765
January 18, 2008 11:27AM
4370
January 21, 2008 03:02PM
4395
March 12, 2008 04:07AM
3744
March 14, 2008 12:58AM
3824
April 10, 2008 03:11PM
3752
April 14, 2008 07:20AM
3670
April 14, 2008 10:56PM
4684
April 28, 2008 03:32PM
3529
May 01, 2008 05:49PM
3530
May 07, 2008 11:18AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.