- 2024-04-13mysql部署MGB
基础环境node0:192.168.110.50 -->master节点node1:192.168.110.60node2:192.168.110.70MySQL版本->MySQL8.0.36在每台电脑上配置host名cat>/etc/hosts<<-'EOF'192.168.31.230n0192.168.31.231n1192.168.31.232n2EOF修改对应主机的主机名hostnamectlset
- 2024-01-19openEuler欧拉配置MySQL8的MGR单主双从
一、系统优化(三个节点全部操作)关闭防火墙systemctlstopfirewalldsystemctldisablefirewalld关闭selinuxecho"SELINUX=disabled">/etc/selinux/configecho"SELINUXTYPE=targeted">>/etc/selinux/configcat/etc/selinux/configsetenforce0设置主机名hostn
- 2023-09-18解决git 问题:loose object is corrupt
问题:error:objectfile.git/objects/e1/refisemptyerror:objectfile.git/objects/e1/refisemptyfatal:looseobjecte1ref(storedin.git/objects/e1/ref)iscorrupt解决方式:find.git/objects/-size0-execrm-f{}\;gitfetchorigin 参考:ht
- 2023-06-12常用网址
图片泪LooseDrawing一个日本的「LooseDrawing」插图网站做得真不错,不需要注册没广告很舒服,有大量常用的插图,还可以更改主题色,支持PNG/JPG/SVG格式任意下载
- 2023-03-27Keep English Level
state--声称,宣称,国家,政府state-owned--国有的Hestatedthat"hellwillbreakloose,politicallyandmorally,allovertheworld."breakloose--松开,打开
- 2023-03-25run mysql server in docker with exist database
step1:putyourdatabasein$mysql_data_dirfirststep2:putyourmy.confto$mysql_cnf,forexample:thatmy.cnffromalibabacloud[mysqld]pid-file=
- 2023-03-20run mysql server in docker with exist database
step1:putyourdatabasein$mysql_data_dirfirststep2:putyourmy.confto$mysql_cnf,forexample:thatmy.cnffromalibabacloud[mysqld]pid-file
- 2023-01-16mysql mgr demo
dockercompose配置services:db:container_name:mgr-db-0image:mysql:8.0restart:alwaysenvironment:MYSQL_ROOT_PASSWORD:'123456'
- 2022-12-29git“fatal: loose object”错误解决办法(未测试)
先留着,回头测试https://blog.csdn.net/imfly/article/details/51857745?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%
- 2022-11-23docker-compose值mysql集群模式(MGR)
一、之前也提过MGR的方式,局限很多,但是毕竟是集群的方式还是存在使用场景的。1、必须使用InnoDB2、每个表必须定义主键,主要用于事务冲突判断。3、必须使