mysql route安裝
mysql route
安裝包下載:
http://dev.mysql.com/downloads/router/
文件:
http://downloads.mysql.com/docs/mysql-router-en.pdf
二進位制安裝:
解壓--設定環境變數path即可
cat /etc/sample_mysqlrouter.ini
# MySQL Router sample configuration
#
# The following is a sample configuration file which shows
# most of the plugins available and most of their options.
#
# The paths used are defaults and should be adapted based
# on how MySQL Router was installed, for example, using the
# CMake option CMAKE_INSTALL_PREFIX
#
# The logging_folder is kept empty so message go to the
# console.
#
# The fabric_cache plugin only works with the MySQL-RPC
# protocol (by default running on port 32275)
#
#[DEFAULT]
#logging_folder =
#plugin_folder = /usr/local/lib/mysqlrouter
#config_folder = /etc/mysql
#runtime_folder = /var/run
#[logger]
#level = INFO
#[fabric_cache]
#address = your_fabric_node.example.com:32275
#user =
[routing:basic_failover]
# To be more transparent, use MySQL Server port 3306
bind_address=10.10.157.43 --本機的地址
bind_port = 7001 --本機的埠
mode = read-write
destinations = 10.10.224.217:3306 --db的地址及埠
#[routing:homepage_reads_fabric]
#bind_port = 7002
#destinations = fabric+cache:///group/homepage_group?allow_primary_reads=yes
#mode = read-only
# If no plugin is configured which starts a service, keepalive
# will make sure MySQL Router will not immediately exit. It is
# safe to remove once Router is configured.
#[keepalive]
#interval = 60
cd /root/mysql-router-2.0.3-linux-glibc2.12-x86-64bit/bin
mysqlrouter -c /etc/sample_mysqlrouter.ini &
轉載請註明源出處
QQ 273002188 歡迎一起學習
QQ 群 236941212
oracle,mysql,PG 相互交流
http://dev.mysql.com/downloads/router/
文件:
http://downloads.mysql.com/docs/mysql-router-en.pdf
二進位制安裝:
解壓--設定環境變數path即可
cat /etc/sample_mysqlrouter.ini
# MySQL Router sample configuration
#
# The following is a sample configuration file which shows
# most of the plugins available and most of their options.
#
# The paths used are defaults and should be adapted based
# on how MySQL Router was installed, for example, using the
# CMake option CMAKE_INSTALL_PREFIX
#
# The logging_folder is kept empty so message go to the
# console.
#
# The fabric_cache plugin only works with the MySQL-RPC
# protocol (by default running on port 32275)
#
#[DEFAULT]
#logging_folder =
#plugin_folder = /usr/local/lib/mysqlrouter
#config_folder = /etc/mysql
#runtime_folder = /var/run
#[logger]
#level = INFO
#[fabric_cache]
#address = your_fabric_node.example.com:32275
#user =
[routing:basic_failover]
# To be more transparent, use MySQL Server port 3306
bind_address=10.10.157.43 --本機的地址
bind_port = 7001 --本機的埠
mode = read-write
destinations = 10.10.224.217:3306 --db的地址及埠
#[routing:homepage_reads_fabric]
#bind_port = 7002
#destinations = fabric+cache:///group/homepage_group?allow_primary_reads=yes
#mode = read-only
# If no plugin is configured which starts a service, keepalive
# will make sure MySQL Router will not immediately exit. It is
# safe to remove once Router is configured.
#[keepalive]
#interval = 60
cd /root/mysql-router-2.0.3-linux-glibc2.12-x86-64bit/bin
mysqlrouter -c /etc/sample_mysqlrouter.ini &
轉載請註明源出處
QQ 273002188 歡迎一起學習
QQ 群 236941212
oracle,mysql,PG 相互交流
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/25099483/viewspace-2112535/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- mysql安裝 (yum 安裝)MySql
- vue(17)vue-route路由管理的安裝與配置Vue路由
- mysql 安裝MySql
- MySQL安裝MySql
- 安裝mysqlMySql
- solaris mysql 安裝 解除安裝MySql
- [mysql]ubuntu安裝mysqlMySqlUbuntu
- 連網安裝mysql與原始碼安裝mysqlMySql原始碼
- mysql非安裝包安裝教程MySql
- Linux安裝解除安裝MySQLLinuxMySql
- 【MySQL安裝】Linux下安裝MySQL(預編譯)MySqlLinux編譯
- MySQL 8.0.21下載安裝教程及Navicat for MySQL安裝MySql
- 安裝mysql和mysql workbenchMySql
- mysql安裝------RPM包安裝及解除安裝MySql
- MySQL 的安裝MySql
- docker 安裝 mysqlDockerMySql
- mysql window 安裝MySql
- mysql yum 安裝MySql
- MySQL安裝-未完MySql
- MySQL 8.0 安裝MySql
- MySQL安裝配置MySql
- macbook 安裝 mysqlMacMySql
- MYSQL免安裝MySql
- mac安裝mysqlMacMySql
- ubuntu 安裝mysqlUbuntuMySql
- Mac 安裝mysqlMacMySql
- MySQL Cluster安裝MySql
- CentOS安裝MySQLCentOSMySql
- 【MySQL】MHA安裝MySql
- Mysql 安裝 配置MySql
- ubantu安裝mysqlMySql
- yum安裝mysqlMySql
- mysql proxy安裝MySql
- mysql安裝-clusterMySql
- [Ubuntu]安裝MysqlUbuntuMySql
- mysql安裝記MySql
- mysql的安裝MySql
- MySQL安裝流程MySql