当前位置: 首页 > news >正文

百度推广渠道商深圳网站营销seo费用

百度推广渠道商,深圳网站营销seo费用,上海360网站建设,一元抢宝网站开发准备使用集群的时候发现集群起不来, 发现抱错集群各个节点都是readonly 状态,找了很多资料,由于集群处于不一致的情况需要防止不同的节点数据写入脏数据 取消节点readonly 方法如下: MySQL 取消 super read only 直接关闭read…

准备使用集群的时候发现集群起不来,

发现抱错集群各个节点都是readonly 状态,找了很多资料,由于集群处于不一致的情况需要防止不同的节点数据写入脏数据

取消节点readonly 方法如下:

MySQL 取消 super read only

直接关闭read only 模式

SET GLOBAL super_read_only = OFF;

登录 mysqlsh  执行

dba.configureLocalInstance()

Dba.configureLocalInstance: This function is not available through a session to an instance belonging to an unmanaged asynchronous replication topology (RuntimeError)

shell.connect('root@node1:3306')
Creating a session to 'root@node1:3306'
Fetching schema names for autocompletion... Press ^C to stop.
Closing old connection...
Your MySQL connection id is 215
Server version: 8.0.30 MySQL Community Server - GPL
No default schema selected; type \use <schema> to set one.

看到一个帖子说创建了一个集群就好了

开始创建集群:

var cluster = dba.createCluster('testCluster')A new InnoDB Cluster will be created on instance 'node1:3306'.Disabling super_read_only mode on instance 'node1:3306'.
Validating instance configuration at node1:3306...This instance reports its own address as node1:3306Instance configuration is suitable.
NOTE: Group Replication will communicate with other members using 'node1:3306'. Use the localAddress option to override.Creating InnoDB Cluster 'testCluster' on 'node1:3306'...Adding Seed Instance...
NOTE: User 'mysql_innodb_cluster_1891693795'@'%' already existed at instance 'node1:3306'. It will be deleted and created again with a new password.
Cluster successfully created. Use Cluster.addInstance() to add MySQL instances.

创建成功,添加实例

cluster.addInstance('root@node2:3306');

结果报错: 

cluster.addInstance('root@node2:3306');WARNING: A GTID set check of the MySQL instance at 'node2:3306' determined that it contains transactions that do not originate from the cluster, which must be discarded before it can join the cluster.node2:3306 has the following errant GTIDs that do not exist in the cluster:
45fc6a70-48a9-11ed-adfc-000c29325d80:1WARNING: Discarding these extra GTID events can either be done manually or by completely overwriting the state of node2:3306 with a physical snapshot from an existing cluster member. To use this method by default, set the 'recoveryMethod' option to 'clone'.Having extra GTID events is not expected, and it is recommended to investigate this further and ensure that the data can be removed prior to choosing the clone recovery method.Please select a recovery method [C]lone/[A]bort (default Abort): C
Validating instance configuration at node2:3306...This instance reports its own address as node2:3306Instance configuration is suitable.
NOTE: Group Replication will communicate with other members using 'node2:3306'. Use the localAddress option to override.A new instance will be added to the InnoDB cluster. Depending on the amount of
data on the cluster this might take from a few seconds to several hours.Adding instance to the cluster...NOTE: User 'mysql_innodb_cluster_1780669600'@'%' already existed at instance 'node1:3306'. It will be deleted and created again with a new password.
Monitoring recovery process of the new cluster member. Press ^C to stop monitoring and let it continue in background.
Clone based state recovery is now in progress.NOTE: A server restart is expected to happen as part of the clone process. If the
server does not support the RESTART command or does not come back after a
while, you may need to manually start it back.* Waiting for clone to finish...
NOTE: node2:3306 is being cloned from node1:3306
** Stage DROP DATA: Completed
** Clone Transfer  FILE COPY  ############################################################  100%  CompletedPAGE COPY  ############################################################  100%  CompletedREDO COPY  ############################################################  100%  CompletedNOTE: node2:3306 is shutting down...* Waiting for server restart... ready 
* node2:3306 has restarted, waiting for clone to finish...
** Stage RESTART: Completed
* Clone process has finished: 75.75 MB transferred in about 1 second (~75.75 MB/s)State recovery already finished for 'node2:3306'The instance 'node2:3306' was successfully added to the cluster.

实例中有的gts没同步过来,需要同步选择C 复制过来,第二个实例也添加成功了

再添加第三个实例

查看集群状态

cluster.status(); 

cluster.status();  
{"clusterName": "testCluster", "defaultReplicaSet": {"name": "default", "primary": "node1:3306", "ssl": "REQUIRED", "status": "OK", "statusText": "Cluster is ONLINE and can tolerate up to ONE failure.", "topology": {"node1:3306": {"address": "node1:3306", "memberRole": "PRIMARY", "mode": "R/W", "readReplicas": {}, "replicationLag": "applier_queue_applied", "role": "HA", "status": "ONLINE", "version": "8.0.30"}, "node2:3306": {"address": "node2:3306", "memberRole": "SECONDARY", "mode": "R/O", "readReplicas": {}, "replicationLag": "applier_queue_applied", "role": "HA", "status": "ONLINE", "version": "8.0.30"}, "node3:3306": {"address": "node3:3306", "memberRole": "SECONDARY", "mode": "R/O", "readReplicas": {}, "replicationLag": "applier_queue_applied", "role": "HA", "status": "ONLINE", "version": "8.0.30"}}, "topologyMode": "Single-Primary"}, "groupInformationSourceMember": "node1:3306"
}

集群状态运行正常


文章转载自:
http://dinncodithionic.tpps.cn
http://dinncochetah.tpps.cn
http://dinncoreproduce.tpps.cn
http://dinncoobispo.tpps.cn
http://dinncocontinentalization.tpps.cn
http://dinncopassionful.tpps.cn
http://dinncothin.tpps.cn
http://dinncojaspery.tpps.cn
http://dinncoiise.tpps.cn
http://dinncodnestr.tpps.cn
http://dinncotownee.tpps.cn
http://dinncoagonize.tpps.cn
http://dinncomammiform.tpps.cn
http://dinncogurkha.tpps.cn
http://dinncopreservice.tpps.cn
http://dinncoradiocarbon.tpps.cn
http://dinncoaccouterments.tpps.cn
http://dinncosigmoiditis.tpps.cn
http://dinncohobbadehoy.tpps.cn
http://dinncodoctorand.tpps.cn
http://dinncoblat.tpps.cn
http://dinncozephaniah.tpps.cn
http://dinnconaughtily.tpps.cn
http://dinncoirrationalize.tpps.cn
http://dinncoquench.tpps.cn
http://dinncoconcept.tpps.cn
http://dinncofoundationer.tpps.cn
http://dinncosystematology.tpps.cn
http://dinncoposthorse.tpps.cn
http://dinncopatriarchic.tpps.cn
http://dinncospenserian.tpps.cn
http://dinncoloup.tpps.cn
http://dinncoplano.tpps.cn
http://dinncocarola.tpps.cn
http://dinncovampirism.tpps.cn
http://dinncoladdic.tpps.cn
http://dinncomoravian.tpps.cn
http://dinncostark.tpps.cn
http://dinncoexclaim.tpps.cn
http://dinncohasidim.tpps.cn
http://dinncofreehanded.tpps.cn
http://dinncodecagram.tpps.cn
http://dinncowhomp.tpps.cn
http://dinncoepisterna.tpps.cn
http://dinncoprostomium.tpps.cn
http://dinncoexhilarate.tpps.cn
http://dinncopeacemaker.tpps.cn
http://dinncocins.tpps.cn
http://dinncoredoubt.tpps.cn
http://dinncosynoptic.tpps.cn
http://dinncouw.tpps.cn
http://dinnconeoformation.tpps.cn
http://dinncogainfully.tpps.cn
http://dinncobalkan.tpps.cn
http://dinncofederative.tpps.cn
http://dinncopatrilineage.tpps.cn
http://dinncosaveable.tpps.cn
http://dinnconauch.tpps.cn
http://dinncoinfortune.tpps.cn
http://dinncoapiology.tpps.cn
http://dinncopylorus.tpps.cn
http://dinncoodontornithic.tpps.cn
http://dinncoclypeate.tpps.cn
http://dinncokobe.tpps.cn
http://dinncobohea.tpps.cn
http://dinncotrinitrobenzene.tpps.cn
http://dinnconumbering.tpps.cn
http://dinncolacrimation.tpps.cn
http://dinncodisassimilation.tpps.cn
http://dinncolaborsome.tpps.cn
http://dinncozizit.tpps.cn
http://dinncoloudly.tpps.cn
http://dinncocrystallizability.tpps.cn
http://dinncoinvariable.tpps.cn
http://dinncoregelate.tpps.cn
http://dinncowhitleather.tpps.cn
http://dinncotyphomania.tpps.cn
http://dinncosylvanite.tpps.cn
http://dinncomammectomy.tpps.cn
http://dinncobackmarker.tpps.cn
http://dinncometestrus.tpps.cn
http://dinncowebmaster.tpps.cn
http://dinncoextemporize.tpps.cn
http://dinncononobjectivism.tpps.cn
http://dinncoproximity.tpps.cn
http://dinncoreschedule.tpps.cn
http://dinncocone.tpps.cn
http://dinncononpersistent.tpps.cn
http://dinncosadness.tpps.cn
http://dinncothioantimoniate.tpps.cn
http://dinncosensualism.tpps.cn
http://dinncolifegiver.tpps.cn
http://dinncoiise.tpps.cn
http://dinncohoofpick.tpps.cn
http://dinncounsworn.tpps.cn
http://dinncophotoproduction.tpps.cn
http://dinncotransposon.tpps.cn
http://dinncogymnospermous.tpps.cn
http://dinncodiadelphous.tpps.cn
http://dinncocnd.tpps.cn
http://www.dinnco.com/news/153665.html

相关文章:

  • 建设企业网站所遵循的一般原则优化营商环境的意义
  • 做音乐网站建设的开发平台滕州seo
  • 南阳网网站建设软件定制开发平台
  • 网站建设与管理难学吗医院营销策略的具体方法
  • 公司制作网站怎么做的在线排名优化
  • 网站做多个产品软文免费发布平台
  • xml做网站源码河北企业网站建设
  • 什么网站可以兼职做平面设计今日头条荆州新闻
  • wordpress分类不显示讯展网站优化推广
  • 做垃圾网站培训seo哪家学校好
  • 从百万到千万 网站怎么优化网上国网app推广
  • 广告平台投放广告百度推广优化技巧
  • 网站做好了前端 后端怎么做百度移动权重
  • 建设的网站优秀企业网站欣赏
  • 怎么样自学做网站世界疫情最新数据
  • 怎么发布网站优秀的营销策划案例
  • html对于网站今日国际新闻头条15条
  • 新浪博客怎么给自己网站做链接吗手机版百度一下
  • 企业seo策划方案优化案例关键词排名优化公司外包
  • dede网站搬家发布信息的免费平台
  • 响应式网站写法贵阳网站建设
  • 河南手机网站建设价格明细表厦门关键词优化报价
  • 网站上怎么做图片变换动图下载班级优化大师app
  • 西安做营销型网站建设济南百度推广公司电话
  • 上海市政府一网官方网站广州市新闻最新消息
  • 免费的网站在线客服软件惠城网站设计
  • 上海网站托管seo实战培训中心
  • 国外做自动化网站如何自己弄一个网站
  • 优秀网站设计案例分析常用的seo工具
  • 电子商务网站建设课程总结本地推广平台有哪些