随笔分类 -  数据库

摘要:报错: FATAL ERROR: please install the following Perl modules before executing /usr/bin/mysql_install_db: 解决办法:安装autoconf依赖 yum install autoconf -y 阅读全文
posted @ 2020-07-02 11:11 caonw 阅读(513) 评论(0) 推荐(0)
摘要:报错: Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: 'Client requested master to start replication from position > f 阅读全文
posted @ 2020-06-12 10:59 caonw 阅读(296) 评论(0) 推荐(0)
摘要:mysql数据库使用总结 本文主要记录一些mysql日常使用的命令,供以后查询。 1.更改root密码 mysqladmin -uroot password 'yourpassword' 2.远程登陆mysql服务器 mysql -uroot -p -h192.168.137.10 -P3306 3 阅读全文
posted @ 2020-06-08 09:09 caonw 阅读(941) 评论(0) 推荐(0)
摘要:yumdownloader mysql-server --resolve --destdir=/data/mysql/ 查看文件 [root@redis-node1 mysql]# ll total 133772 -rw-r--r-- 1 root root 40375748 Jan 9 22:28 阅读全文
posted @ 2020-04-03 10:45 caonw 阅读(4163) 评论(0) 推荐(0)
摘要:#查看mongodb状态:mongostat --port 27001 [root@xynev-p-mongodb1 conf]# mongostat --port 27001 insert query update delete getmore command dirty used flushes 阅读全文
posted @ 2020-04-02 10:50 caonw 阅读(205) 评论(0) 推荐(0)
摘要:sql server 2012 开启1433 ,sql2012 1433没有监听 阅读全文
posted @ 2019-12-19 09:42 caonw 阅读(1942) 评论(0) 推荐(0)
摘要:简介MongoShake是一个以golang语言进行编写的通用的平台型服务,通过读取MongoDB集群的Oplog操作日志,对MongoDB的数据进行复制,后续通过操作日志实现特定需求。日志可以提供很多场景化的应用,为此,我们在设计时就考虑了把MongoShake做成通用的平台型服务。通过操作日志, 阅读全文
posted @ 2019-12-11 09:26 caonw 阅读(1080) 评论(0) 推荐(0)
摘要:环境: 目标 前期准备: 1.选择适合自己的版本。 官方下载地址:https://www.mongodb.com/download-center/community?jmp=docs wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64 阅读全文
posted @ 2019-11-28 14:01 caonw 阅读(628) 评论(0) 推荐(0)
摘要:mysql 参数优化 阅读全文
posted @ 2019-10-24 14:16 caonw 阅读(289) 评论(0) 推荐(0)