随笔分类 -  MySQL

摘要:1、请简要说明一条SQL语句的执行过程。 参照:深度好文:MySQL架构 (baidu.com) 一文读懂MySQL查询语句的执行过程 (taodudu.cc) MySQL Server架构自顶向下大致可以分网络连接层、服务层、存储引擎层和系统文件层。 2、mysql有关权限的表都有哪几个 MySQ 阅读全文
posted @ 2023-09-10 11:13 taotao100 阅读(49) 评论(0) 推荐(0) 编辑
摘要:[root@localhost samples]# masterha_check_repl --conf=/etc/app1.cnf Sun Jan 29 04:13:11 2023 - [warning] Global configuration file /etc/masterha_defaul 阅读全文
posted @ 2023-01-29 17:37 taotao100 阅读(315) 评论(0) 推荐(0) 编辑
摘要:增加栏位: pt-online-schema-change --user=root --password=a099e0 --alter "ADD COLUMN IS_MOBILE INT(1)" --socket=/data/db/mysql3398/mysql3398.sock D='fay',t 阅读全文
posted @ 2019-08-13 16:43 taotao100 阅读(226) 评论(0) 推荐(0) 编辑
摘要:Pre环境有个MySQL不能进行数据写入操作,关闭实例也非常慢,最后error报错。 最后发现是磁盘不能进行写操作。 touch /data/testtouch: cannot touch ‘/data/test’: Read-only file system 对/data分区进行重新挂载操作后能正 阅读全文
posted @ 2019-07-19 13:42 taotao100 阅读(363) 评论(0) 推荐(0) 编辑
摘要:Error: MaxScale cannot be run as root.Failed to write child process message!解决办法:# maxscale -f /etc/maxscale.cnf -U maxscale 指定启动的用户 在CentOS7中安装maxsca 阅读全文
posted @ 2019-06-19 17:16 taotao100 阅读(1070) 评论(0) 推荐(0) 编辑
摘要:(1) Last_Errno: 1782 Last_Error: Error executing row event: '@@SESSION.GTID_NEXT cannot be set to ANONYMOUS when @@GLOBAL.GTID_MODE = ON.' >stop slave 阅读全文
posted @ 2019-06-06 13:37 taotao100 阅读(3540) 评论(0) 推荐(0) 编辑
摘要:Atlas MySQL 读写分离 [root@localhost ~]# /usr/local/mysql-proxy/bin/mysql-proxy test start2019-05-07 10:13:03: (critical) chassis-frontend.c:122: Failed t 阅读全文
posted @ 2019-05-07 17:47 taotao100 阅读(774) 评论(0) 推荐(0) 编辑
摘要:错误Threads_running=58 exceeds its critical threshold 50 #pt-online-schema-change --user=root --password= e835 --alter='ENGINE=InnoDB' --socket=/data/db 阅读全文
posted @ 2019-04-24 09:26 taotao100 阅读(526) 评论(0) 推荐(0) 编辑
摘要:1、 Apr 21 19:15:54 pxc1 systemd[1]: mysql@bootstrap.service: main process exited, code=exited, status=1/FAILUREApr 21 19:15:57 pxc1 mysql-systemd[8777 阅读全文
posted @ 2019-04-22 10:45 taotao100 阅读(3203) 评论(0) 推荐(0) 编辑
摘要:[root@Server3 ~]# masterha_check_repl --conf=/etc/masterha/app1.cnf "NI_NUMERICHOST" is not exported by the Socket module "getaddrinfo" is not exporte 阅读全文
posted @ 2019-04-06 10:20 taotao100 阅读(865) 评论(1) 推荐(0) 编辑
摘要:安装环境:CentOS 6.5 MySQL 5.7.22 MHA 0.56 1、找不到mysql 命令 Sat Mar 23 07:17:50 2019 - [info] Connecting to root@192.168.32.181(server2:22).. Checking slave r 阅读全文
posted @ 2019-03-23 14:52 taotao100 阅读(2318) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示