![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
yuxuan_08
这个作者很懒,什么都没留下…
展开
-
web服务经常瘫痪
问题现象:页面打不开,也不报404或500错解决思路:mysql数据库单表40多万条数据,经过查询数据库状态,1、决定安装一个数据库监控软件Quest_Spotlight-on-MySQL_80;激活码: Authorization Key:295710059649205163750 Sit Message:Bergelmir/CORE2、观察监控:等到页面再次打不开时发现原创 2016-06-07 11:02:24 · 368 阅读 · 0 评论 -
开启mysql慢查询
一、Windows下开启MySQL慢查询修改MySQL安装目录下my.ini文件,找到[mysqld],并在其下面加上log-slow-queries = E:\MySQL\mysqlslowquery.loglong_query_time = 2注:log-slow-queries:日志要保存的位置;long_query_time:大于多长时间会记录到日志中(单位s)二、L原创 2016-11-15 18:48:17 · 280 阅读 · 0 评论 -
解决:CentOS下MySQL执行select ... into outfile ...: Can't create/write to file '...' (Errcode: 13)
原因:selinux阻止写入操作解决:vi /etc/selinux/config# This file controls the state of SELinux on the system.# SELINUX= can take one of these three values:# enforcing - SELinux security policy is enfo原创 2017-05-29 14:39:35 · 1327 阅读 · 0 评论 -
Linux删除自带mysql 5.1
whereis mysqlrpm -qa | grep -i mysqlservice mysql stopfind / -name mysqlrm -rf /usr/lib64/mysqlrm -rf /usr/share/mysql/ rpm -qa | grep -i mysqlrpm -ev mysql-libs-5.1.73-5.el6_6.x86_64 -...原创 2019-02-27 09:47:14 · 976 阅读 · 0 评论