首页 > 编程知识 正文

连墙件与主节点图集,sql和mysql学哪个

时间:2023-05-06 16:07:32 阅读:119185 作者:4191

后台程序

I am developing a .net project,whichworkswithxfdsyandmysqldb.forhighavailability,I am using Galera cluster,soIhave3MySQLmaster

accordingtoconnectionstring.comishouldbeabletousethefollowingconnectionstring 3360

Server=master1、master2、master3; 数据库=my database;

Uid=myUsername; Pwd=myPassword;

I have tried the above,anditdoesnotwork . ihaveseenthisbugwhichexplainsmulti-hostconnectionstringdoesnotwork。

队列

accordingtothislinkicanusemysql : load balance : infrontofmyjdbcconnectionstring.theproblemisidon ' t know which使命蜻蜓amiu DTH estandard/defaultnugetpackagesfor.net (MySQL.dataandmysql.data.entity framework ).anyideawork )。

anyideahowcaniusemysqlconnectortoloadbalance/connect the3master nodes?

thisisn ' tsupportedbymysql.data.asyou observed,therearemultiplebugreports (# 81650,#88962 ) pointing out this problem,

As explained here,there is an alternative幸福魔镜,明理龙猫,thatdoessupportthisconnectionstringsyntax.unfortunately, thereisnoxfdsylibraryavailableforit.(thereisanef.core package,pomelo.entityframeworkcore.MySQL.)。

aworkaroundwouldbetocreatealayer4loadbalancerinfrontofyourthreegaleranodes.galeraprovidesdocumentationhowtodothiswithapro xpro mysqlclientwouldconnecttohaproxy,anditwouldloadbalanceconnectionsbetweenyourgaleraservers。

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。