[client]port=3306socket=/tmp/mysql.sock[mysqld]port=3306socket=/tmp/mysql.sockbasedir=/usr/local/mysqldatadir=/data/mysqlpid-file=/data/mysql/mysql.piduser=mysqlbind-address=0.0.0.0server-id=1#表示是本机的序号为1,一般来讲就是master的意思skip-name-resolve#禁..
分类:
其他好文 时间:
2017-05-27 17:55:25
阅读次数:
196
本文转自:http://www.drdobbs.com/windows/using-odata-from-aspnet/240168672 By Gastón Hillar, July 01, 2014 Post a Comment Take advantage of your knowledge ...
分类:
Web程序 时间:
2017-05-27 15:18:22
阅读次数:
287
The new Delphi Linux compiler enables customers to take new or existing Windows server applications and target Linux servers that are much more afford ...
[USACO07DEC]最佳牛线,黄金Best Cow Line, Gold 题目描述 FJ is about to take his N (1 ≤ N ≤ 30,000) cows to the annual"Farmer of the Year" competition. In this con ...
分类:
其他好文 时间:
2017-05-26 00:51:30
阅读次数:
248
就两步,take it easy! step1. 在A-PC生成公钥和密钥对 step2. 将A-PC公钥上传至B-PC now, enjoy yourself and have a good job! ...
分类:
系统相关 时间:
2017-05-23 18:54:06
阅读次数:
170
(1)服务器1的配置1)安装mariadb-server[root@localhost~]#yum-yinstallmariadb-server2)编辑/etc/my.cnf文件[root@localhost~]#vim/etc/my.cnf
在[mysqld]段的最后添加以下内容
skip_name_resolve=ON
innodb_file_per_table=ON
server-id=1(id号不能跟从服务器相同)
log-..
分类:
数据库 时间:
2017-05-22 21:32:29
阅读次数:
220
参考文档:http://www.178linux.com/60625节点一修改配置文件设置唯一ID开起二进制日志[root@node1~]#vim/etc/my.cnf增加以下内容
[mysqld]
log-bin=master_bin开起二进制日志
server_id=1给主节点一个唯一的ID号
innodb_file_per_table=oninnodb开起独立表空间
skip_name_reso..
分类:
数据库 时间:
2017-05-22 21:26:18
阅读次数:
218
1、在主服务器上的配置1)安装mariadb-server[root@localhost~]#yum-yinstallmariadb-server2)编辑/etc/my.cnf[root@localhost~]#vim/etc/my.cnf
skip_name_resolve=ON
innodb_file_per_table=ON
server-id=1
log-bin=master-log3)授权可以复制本地数据库信息的主机[root@loc..
分类:
其他好文 时间:
2017-05-22 21:19:01
阅读次数:
188
Custom Type Converters Sometimes, you need to take complete control over the conversion of one type to another. This is typically when one type looks ...
分类:
移动开发 时间:
2017-05-22 12:05:35
阅读次数:
285
#1.停止mysql数据库 /etc/init.d/mysqld stop #2.执行如下命令 mysqld_safe --user=mysql --skip-grant-tables --skip-networking & #3.使用root登录mysql数据库 mysql -u root mys ...
分类:
数据库 时间:
2017-05-19 16:47:47
阅读次数:
196