使用get请求http,查看平均响应时间,以及TPS,code如下:get(){ //get方式接口 //char *errorcode; //int res; //lr_start_transaction("get"); /* web_reg_save_param("Result", "No...
分类:
其他好文 时间:
2015-01-27 17:41:12
阅读次数:
224
1 INSERT INTO WX_MONITOR_CONTACT (ID,CENTER_NAME,USERNAME,PHONE_NUMBER,ADDRESS) VALU...
分类:
编程语言 时间:
2015-01-27 14:54:18
阅读次数:
231
原文地址:http://mysqllover.com/?p=87, 摘录,备忘GTID的全称为global transaction identifier , 可以翻译为全局事务标示符,GTID在原始master上的事务提交时被创建。GTID需要在全局的主-备拓扑结构中保持唯一性,GTID由两部分组成...
分类:
数据库 时间:
2015-01-27 12:35:05
阅读次数:
208
今天一台邮件服务器无法收发邮件,控制台报大量的“Insufficient TCP sockets are available”。...
分类:
其他好文 时间:
2015-01-27 11:16:29
阅读次数:
138
最近在已部署MySQL Enterprise Monitor的服务器上新增了MySQL实例,导致MySQL Enterprise Monitor异常宕机了,无法重新启动成功。收到了Bind on TCP/IP port: Address already in use的错误提示。下面是这个问题的解决办法,供大家参考。1、故障现象[root@SZAPP03 init.d]# ./mysql-monit...
分类:
数据库 时间:
2015-01-27 11:09:06
阅读次数:
267
数据库版本:[root@mysqltest ~]# mysql -u root -p123456Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 389805Server versi...
分类:
数据库 时间:
2015-01-27 10:50:34
阅读次数:
156
在浏览器输入http://60.10.140.22/xampp出现以下错误信息:Access forbidden!New XAMPP security concept:Access to the requested directory is only available from the local...
分类:
其他好文 时间:
2015-01-27 00:26:27
阅读次数:
177
项目中碰到一个需要计算沙盒目录的大小的功能。看了下NSFileManager提供的方法,找到一个- (NSDictionary *)attributesOfItemAtPath:(NSString *)path error:(NSError **)error NS_AVAILABLE(10_5, 2...
分类:
其他好文 时间:
2015-01-26 19:06:41
阅读次数:
168
1、grantuserformysqlGRANT
USAGEON*.*TO‘zabbix‘@‘localhost‘IDENTIFIEDBY"zabbix";2、touch/var/lib/zabbix/.my.cnf#ZabbixAgent[mysql]host=localhostuser=zabbixpassword=zabbixsocket=/tmp/mysql.sock[mysqladmin]host=localhostuser=zabbixpassword=zabbixsocket=/tmp/my..
分类:
数据库 时间:
2015-01-26 17:32:30
阅读次数:
243
Transaction(事务)事务简介事务的作用是保护数据完整性.它将一系列操作作为一个原子操作来处理, 从而防止多个操作中有的操作失败有的操作成功, 造成数据不完整. 在 JDBC 中, 一个连接默认的提交方式是Auto-Commit模式, 在这种模式下, 每个单独的SQL语句都会被视为一个事务,...
分类:
数据库 时间:
2015-01-25 23:47:27
阅读次数:
230