最近2018中文字幕在日韩欧美国产成人片_国产日韩精品一区二区在线_在线观看成年美女黄网色视频_国产精品一区三区五区_国产精彩刺激乱对白_看黄色黄大色黄片免费_人人超碰自拍cao_国产高清av在线_亚洲精品电影av_日韩美女尤物视频网站

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
mysql如何安裝route

這篇文章主要為大家展示了“MySQL如何安裝route”,內(nèi)容簡而易懂,條理清晰,希望能夠幫助大家解決疑惑,下面讓小編帶領(lǐng)大家一起研究并學(xué)習一下“mysql如何安裝route”這篇文章吧。

創(chuàng)新互聯(lián)主要從事成都做網(wǎng)站、網(wǎng)站設(shè)計、網(wǎng)頁設(shè)計、企業(yè)做網(wǎng)站、公司建網(wǎng)站等業(yè)務(wù)。立足成都服務(wù)浪卡子,十年網(wǎng)站建設(shè)經(jīng)驗,價格優(yōu)惠、服務(wù)專業(yè),歡迎來電咨詢建站服務(wù):028-86922220

mysql route

安裝包下載: 
http://dev.mysql.com/downloads/router/ 
文檔: 
http://downloads.mysql.com/docs/mysql-router-en.pdf 
二進制安裝: 
解壓--設(shè)置環(huán)境變量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 &

以上是“mysql如何安裝route”這篇文章的所有內(nèi)容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內(nèi)容對大家有所幫助,如果還想學(xué)習更多知識,歡迎關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道!


文章名稱:mysql如何安裝route
網(wǎng)站網(wǎng)址:http://fisionsoft.com.cn/article/gjcige.html