上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 43 下一页
摘要: ALTER TABLE table1 ADD COLUMN column1 VARCHAR(400) DEFAULT NULL; ERROR 1062 (23000): Duplicate entry '82133627' for key 'PRIMARY' select * from table1 阅读全文
posted @ 2019-06-12 20:39 __Yoon 阅读(1938) 评论(0) 推荐(0) 编辑
摘要: 在MySQL 5.7版本中,备份迁移数据库的时候,还原时提示如下报错信息 ERROR 1840 (HY000) at line 24: @@GLOBAL.GTID_PURGED can only be set when @@GLOBAL.GTID_EXECUTED is empty 当前GTID_E 阅读全文
posted @ 2019-06-12 20:37 __Yoon 阅读(2502) 评论(0) 推荐(0) 编辑
摘要: 准备工作 1、 四台已安装windows server 2008 r2 系统的虚拟机,配置如下: CPU : 1核 MEMORY : 2GB DISK : 40GB(未分区) NetAdapter : 2块 2、 网卡设置: 本地连接:外网IP(由于虚拟机本身处于内网网段,192.168.1.2-1 阅读全文
posted @ 2019-06-12 19:55 __Yoon 阅读(4521) 评论(1) 推荐(0) 编辑
摘要: github :https://github.com/xiaomi/soar 安装说明 :https://github.com/XiaoMi/soar/blob/master/doc/install.md 源码下载 :https://GOlang.google.cn/dl/ 配置环境变量: tar 阅读全文
posted @ 2019-06-12 19:53 __Yoon 阅读(556) 评论(0) 推荐(0) 编辑
摘要: 搭建完Lepus监控系统后,界面提示错误:A PHP Error was encountered Severity: Notice Message: Only variable references should be returned by reference Filename: core/Com 阅读全文
posted @ 2019-06-12 19:50 __Yoon 阅读(316) 评论(0) 推荐(0) 编辑
摘要: Part1: Lepus安装需要Lamp环境,lepus官网手册也建议采用XAMPP的方式安装,lepus也是在XAMPP上进行研发的 注意xampp会把apache,mysql,php都安装,所以要在干净的环境中进行安装,以免安装两个mysql,两个mysql也是可以的 Part2:LNMP环境构 阅读全文
posted @ 2019-06-12 19:41 __Yoon 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 数据库版本:percona-mysql 5.6.16​在很长一段时间,都会出现程序连接数据库,出现响应慢的情况,正常在几到几十毫秒之间,但是偶尔会出现上百毫秒的情况;开始由于开发重新设置并调整过程序连接池,一直怀疑是连接池的问题,但是问题依旧;因为使用的版本是percona-mysql 5.6.16 阅读全文
posted @ 2017-12-11 15:51 __Yoon 阅读(213) 评论(0) 推荐(0) 编辑
摘要: CREATE TABLE `vote_record_memory` ( `id` INT (11) NOT NULL AUTO_INCREMENT, `user_id` VARCHAR (20) NOT NULL, `vote_id` INT (11) NOT NULL, `group_id` IN 阅读全文
posted @ 2017-08-28 17:03 __Yoon 阅读(174) 评论(0) 推荐(0) 编辑
摘要: shell 定时任务:​/usr/bin/mysql -uroot -pxxxxx databasename -e "update table set ......."​​mysql event: 查看event是否开启:mysql> show variables like '%sche%';eve 阅读全文
posted @ 2017-08-28 16:20 __Yoon 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 将线上数据库迁移至虚拟机后,运维没有把时间修改。​​在后期把时间修改完成后,在数据库上也要修改修改,但是定时任务的备份时间却不在凌晨4点执行,而是在中午12:10分执行。​​原因是修改时间后,需要重启crontab​​​修改数据库时间​​set time_zone = '+08:00';​​set 阅读全文
posted @ 2017-08-10 16:32 __Yoon 阅读(268) 评论(0) 推荐(0) 编辑
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 43 下一页