上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 42 下一页
摘要: 一、show master status二、show slave statusSlave_IO_StateSHOW PROCESSLIST输出的State字段的拷贝。SHOW PROCESSLIST用于从属I/O线程。如果线程正在试图连接到主服务器,正在等待来自主服务器的时间或正在连接到主服务器等,... 阅读全文
posted @ 2015-05-07 10:56 林锅 阅读(12619) 评论(0) 推荐(1) 编辑
摘要: 转自:http://blog.csdn.net/ruglcc/article/details/7814546/ 这篇介绍也不错,可以了解下:http://www.chinaz.com/program/2015/0415/398845.shtmlmakefile很重要 什么是makefile?或许... 阅读全文
posted @ 2015-04-15 16:20 林锅 阅读(289) 评论(0) 推荐(0) 编辑
摘要: #define HOST_SERVER_IP "192.168.3.35"#define HOST_PORT 9501#define SLEEP_TIME 1#define LOOP_TIME 3#define DATA_SIZE 80int judg... 阅读全文
posted @ 2015-04-15 15:29 林锅 阅读(736) 评论(0) 推荐(0) 编辑
摘要: #define HOST_SERVER_IP "192.168.1.15"#define HOST_PORT 80int gsh_post_clients(const char* sn, const char* ip){ if (NULL == sn || NULL == ip) ... 阅读全文
posted @ 2015-04-15 14:44 林锅 阅读(390) 评论(0) 推荐(0) 编辑
摘要: Exec_Master_Log_Pos: The position of the last event executed by the SQL thread from the master's binary log (Relay_Master_Log_File). (Relay_Master_L... 阅读全文
posted @ 2015-04-02 17:19 林锅 阅读(405) 评论(0) 推荐(0) 编辑
摘要: ? Slave_IO_State SHOW PROCESSLIST输出的State字段的拷贝。SHOW PROCESSLIST用于从属I/O线程。如果线程正在试图连接到主服务器,正在等待来自主服务器的时间或正在连接到主服务器等,本语句会通知您 ? Master_User 被用于连接主服务器的当前用户 阅读全文
posted @ 2015-04-01 17:15 林锅 阅读(1009) 评论(0) 推荐(0) 编辑
摘要: Aborted_clients 由于客户没有正确关闭连接已经死掉,已经放弃的连接数量。Aborted_connects 尝试已经失败的MySQL服务器的连接的次数。Binlog_cache_disk_use 当事务日志比binlog_cache_size大时,他会创建临时文件,该状态表示有多少... 阅读全文
posted @ 2015-04-01 17:03 林锅 阅读(464) 评论(0) 推荐(0) 编辑
摘要: 最简单的办法是,通过root用户进入mysql,添加下面命令: 命令格式:grant 权限 on 数据库.* to 用户名@登录主机 identified by "密码" 权限:select/insert/update/delete/all,多个权限之间用英文逗号隔开。 数据库:数据库名称,或者使用 阅读全文
posted @ 2015-03-27 12:15 林锅 阅读(468) 评论(0) 推荐(0) 编辑
摘要: 出现问题的代码var unc = 0;$.get( 'index.php', 'data=1', function(res) { unc=1; });alert(nuc);这样的话,不管ajax成功返回与否,全局变量unc都不会变为什么会出现这情况呢?答案是:ajax是进行的异... 阅读全文
posted @ 2015-03-26 18:38 林锅 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 1 .复制 Mysql内建的复制功能是构建大型,高性能应用程序的基础。将Mysql的数据分布到多个系统上去,这种分布的机制,是通过将Mysql的某一台主机的 数据复制到其它主机(slaves)上,并重新执行一遍来实现的。复制过程中一个服务器充当主服务器,而一个或多个其它服务器充当从服务器。主服... 阅读全文
posted @ 2015-03-24 19:45 林锅 阅读(2027) 评论(0) 推荐(0) 编辑
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 42 下一页