国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 數(shù)據(jù)庫(kù) > MySQL > 正文

mysql innodb cluster 創(chuàng)建

2024-07-24 12:32:08
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友
        環(huán)境準(zhǔn)備:
1 下載和安裝需要的軟件(本人的軟件版本--都是mysql Community中的Linux Generic版本)
      mysql-server(mysql-8.0.17-linux-glibc2.12-x86_64.tar.xz)
      mysql-router(mysql-router-8.0.17-linux-glibc2.12-x86_64.tar.xz)
      mysql-shell(mysql-shell-8.0.17-linux-glibc2.12-x86-64bit.tar.gz)
 
      安裝(以mysql server為例,其他類似,以下都是Mysql_tar操作系統(tǒng)用戶操作):
cd /home/mysql_tar
tar -xvf mysql-8.0.17-linux-glibc2.12-x86_64.tar.xz
ln -s mysql-8.0.17-linux-glibc2.12-x86_64 mysql_install(方便升級(jí))
...mysql-router...
....mysql_shell...
 
Some variables need to be changed, but cannot be done dynamically on the server.
NOTE: Please use the dba.configureInstance() command to repair these issues.
 
{
"config_errors": [
{
"action": "server_update",
"current": "CRC32",
"option": "binlog_checksum",
"required": "NONE"
},
{
"action": "server_update+restart",
"current": "OFF",
"option": "enforce_gtid_consistency",
"required": "ON"
},
{
"action": "server_update+restart",
"current": "OFF",
"option": "gtid_mode",
"required": "ON"
},
{
"action": "server_update+restart",
"current": "1",
"option": "server_id",
"required": "<unique ID>"
}
],
"status": "error"
}
MySQL mysql_host_a:33060+ ssl JS > /exit
Bye!
 
。。。完成了,基本的步驟就這些吧。
主要方法:
dba.configureInstance()
 
dba.createCluster()
 
Cluster.addInstance()----cluster=dba.getCluster()獲取cluster變量
 
Cluster.removeInstance()
 
Cluster.rejoinInstance()

(編輯:武林網(wǎng))

發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 辽阳市| 万宁市| 泰顺县| 弥渡县| 竹北市| 绥中县| 清新县| 龙州县| 四子王旗| 含山县| 莱芜市| 岳阳县| 丰顺县| 开封县| 竹北市| 和平县| 平谷区| 凉山| 长海县| 阳东县| 铜川市| 云林县| 杨浦区| 南康市| 邛崃市| 渭源县| 镇安县| 拉萨市| 文山县| 凤翔县| 宜川县| 洞头县| 大港区| 南川市| 泰宁县| 色达县| 桐梓县| 上蔡县| 泰宁县| 布尔津县| 定西市|