实现环境 centos6.7 MYSQL5.6.36 主:192.168.1.191 从1:192.168.1.145 从2:192.168.1.146 监测:放在从2上 192.168.1.146 虚拟IP:192.168.1.222 准备软件包:下载链接: https://pan.baidu.c ...
分类:
数据库 时间:
2017-08-14 16:36:10
阅读次数:
314
引入deparam.js后, // 接口参数 var paramStr = $.deparam(window.location.search.substring(1)); var params = { 'global_aid' : paramStr["aid"], 'global_activityi ...
分类:
Web程序 时间:
2017-08-14 14:17:56
阅读次数:
195
死锁: session1: SQL> select * from t1; X 1 2 SQL> update t1 set x=11 where x=1; session2: SQL> update t1 set x=22 where x=2; session1: SQL> update t1 se ...
分类:
数据库 时间:
2017-08-14 10:01:54
阅读次数:
198
mysql慢查询日志可以记录查询时间过长的sql,对于性能问题定位十分重要,本文旨在介绍慢查询日志管理使用。 参数 1、slow_query_log:ON表示慢查询日志开启,OFF表示慢查询日志关闭; 2、slow_query_log_file:慢查询日志文件; 3、long_query_time: ...
分类:
数据库 时间:
2017-08-13 14:14:11
阅读次数:
268
在其他语言中,例如 java C# C++等强类型的语言,都会有一个extend关键字达到继承的实现,但是js没有这个extend这个方法,只有原型和原型链,那我们怎么去实现继承? 比如,现在有一个"动物"对象的构造函数。 function Animal(){ this.species = "动物" ...
分类:
其他好文 时间:
2017-08-13 12:21:29
阅读次数:
141
MySQL创建: 1.创建数据库create database test2; 2.删除数据库drop database test2;3.创建表create table ceshi( ids int auto_increment primary key, uid varchar(20), name v ...
分类:
数据库 时间:
2017-08-13 00:05:35
阅读次数:
202
Azure 8月新发布:IoT 中心S3 版,Azure 热/冷存储层,DocumentDB,SQL Server Stretch Database, MySQL 5.7, Cloud Foundry, Azure云助手, Wosign根证书更换。 Azure IoT 中心 S3 版正式发布 ...
分类:
其他好文 时间:
2017-08-12 16:17:26
阅读次数:
197
1、给用户配置ssh密钥,让其它用户也能访问别人创建的仓库ssh-keygen -t rsa -b 4096 -C "serverking6@163.com" 2、查看git配置git config --list 3、替换全局用户和邮箱地址git config --global --replace- ...
分类:
其他好文 时间:
2017-08-10 17:01:54
阅读次数:
94
从Spring 3起,JavaConfig功能已经包含在Spring核心模块,它允许开发者将bean定义和在Spring配置XML文件到Java类中。 interface: imp: 使用 @Configuration 注释告诉 Spring,这是核心的 Spring 配置文件,并通过 @Bean ...
分类:
编程语言 时间:
2017-08-10 11:51:52
阅读次数:
173
安装界面一直报错 其实是设置的问题 error_reporting:E_WARNING & ~E_NOTICE & ~E_DEPRECATED max_execution_time:60 以上 memory_limit:64M safe_mode:Off’ display_errors:On fil ...
分类:
其他好文 时间:
2017-08-10 11:49:47
阅读次数:
131