欧美一区二区三区老妇人-欧美做爰猛烈大尺度电-99久久夜色精品国产亚洲a-亚洲福利视频一区二区

mysql如何安裝route

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

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

mysql route

安裝包下載: 
http://dev.mysql.com/downloads/router/ 
文檔: 
http://downloads.mysql.com/docs/mysql-router-en.pdf 
二進(jìn)制安裝: 
解壓--設(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 --本機(jī)的地址 
bind_port = 7001 --本機(jī)的端口 
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)容對(duì)大家有所幫助,如果還想學(xué)習(xí)更多知識(shí),歡迎關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道!

本文題目:mysql如何安裝route
網(wǎng)站鏈接:http://chinadenli.net/article14/gjcige.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供企業(yè)建站、ChatGPT、網(wǎng)站導(dǎo)航、云服務(wù)器自適應(yīng)網(wǎng)站、做網(wǎng)站

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)

小程序開發(fā)