mysql正确安全清空在线慢查询日志slow log的流程分享
[ 2016-09-01 14:37:01 | 作者: admin ]
p.s. 查看下日志的状态,并且开启记录没有使用索引的查询语句
1, see the slow log status;
阅读全文…
mysql> show variables like '%log%';
set global log_queries_not_using_indexes = ON;
1, see the slow log status;
mysql> show variables like '%slow%';
+---------------------+------------------------------------------+
| Variable_name | Value |
+-------------------
...+---------------------+------------------------------------------+
| Variable_name | Value |
+-------------------
阅读全文…
google地图调用方法
[ 2016-09-01 13:29:26 | 作者: admin ]
<!DOCTYPE html>
<html>
<head>
<title>Map</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<style>
html, body, #map-canvas {
height: 100%;
margin: 0px;
padding: 0px
}
</style>
<script src="http://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
...<html>
<head>
<title>Map</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<style>
html, body, #map-canvas {
height: 100%;
margin: 0px;
padding: 0px
}
</style>
<script src="http://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
阅读全文…
关于检测web服务器开启trace漏洞的问题
[ 2016-09-01 13:25:22 | 作者: admin ]
使用火狐浏览器的poster插件
1