1.慢查询日志:slow_launch_time=2
查询大于某个时间的值(单位:s)slow_query_log=on/off
开启关闭慢查询日志slow_query_log_file=/opt/data/host-slow.log
慢查询日志位置2.连接数:max_connections MyS...
分类:
数据库 时间:
2014-05-15 21:44:08
阅读次数:
447
1.慢查询日志:slow_launch_time=2查询大于某个时间的值(单位:s)slow_query_log=on/off开启关闭慢查询日志slow_query_log_file=/opt/data/host-slow.log慢查询日志位置2.连接数:max_connectionsMySQL最大连接数back_log当连接数满了后,设置一个值,允许多少个连接进入等待堆..
分类:
数据库 时间:
2014-05-15 12:44:41
阅读次数:
385
1:定义常量define(“HOST”,”127.0.0.1”);define(“USER”,”rooot”);//数据库用户define(“PWD”,”root”);//密码$conn=””;functionget_coon(){global$conn;$conn=mysql_connect(HO...
分类:
数据库 时间:
2014-05-15 11:10:24
阅读次数:
348
fcitx输入法支持:准备文件sublime-imfix.c:/*sublime-imfix.cUse
LD_PRELOAD to interpose some function to fix sublime input method support for
linux.By Cjacker Hua...
分类:
其他好文 时间:
2014-05-15 11:03:55
阅读次数:
244
读取Telosb内部传感器数据,并在计算机上显示。senseC.nc代码如下: 1
#include "Timer.h" 2 #include "sense.h" 3 #include "printf.h" 4 5 module senseC
6 { 7 uses{ 8 i...
分类:
其他好文 时间:
2014-05-15 10:23:47
阅读次数:
224
深入广播单向群发,只要过滤条件匹配,都能接收到无序广播有序广播发送有序广播sendOrderedBroadcast(intent,null);//发送有序广播设置优先级:android:priority="1000"拦截:在高优先级的那边进行拦截//拦截广播abortBroadcast();拦截短信权限<uses-permissionandroid:name..
分类:
其他好文 时间:
2014-05-15 08:48:04
阅读次数:
290
MySQL has a number of global buffers, i.e. your
SGA. There are also a number of per session/thread buffers that combined with
other memory usage const...
分类:
其他好文 时间:
2014-05-15 07:34:17
阅读次数:
307
#include
#include
#include
#include
#include
// #include
int main(void){
char str1[]="This is the first string";
char str2[]="That is the other string";
// printf(strcpy(str1,str...
分类:
其他好文 时间:
2014-05-15 01:39:40
阅读次数:
348
org.hibernate.NonUniqueObjectException: a different
object with the same identifier value was already associated with the
session异常解决办法为什么还会说已经存在相同的se...
分类:
系统相关 时间:
2014-05-14 23:40:06
阅读次数:
419
program Project1;{$APPTYPE CONSOLE}{$R *.res}uses
System.SysUtils;TYPE Trec = record Member1, Member2: Integer; end;CONST IntRec:
Trec = (Member1: 55;...
分类:
其他好文 时间:
2014-05-14 23:18:51
阅读次数:
554