mysql相关:mysql--help|grepmy.cnf配置文件添加skip-grant-tables重启服务(改密码)mysqlusemysqlupdateusersetPassword=Password(‘111111‘)whereUser=‘root‘;flushprivileges;
分类:
数据库 时间:
2015-03-10 19:37:43
阅读次数:
202
拿到手一张CentOS6.X的系统盘后,插入到光驱后,启动电脑会显示如下画面,选择第一项installorupgradeanexistingsystem或者选择第二项Installsystemwithbasicvideodriver(这里我选择的是第一项),然后会显示如下画面:如果你对自己的系统的来源放心,则通过→选择skip来跳过自..
分类:
其他好文 时间:
2015-03-10 17:29:47
阅读次数:
150
http://poj.org/problem?id=2771
Description
Frank N. Stein is a very conservative high-school teacher. He wants to take some of his students on an excursion, but he is afraid that some of them mi...
分类:
其他好文 时间:
2015-03-10 17:15:41
阅读次数:
122
ChessAlmost everyone knows the problem of putting eight queens on anchessboard such that no Queen can take another Queen. Jan Timman (a famous Dutch c...
分类:
其他好文 时间:
2015-03-09 22:05:32
阅读次数:
231
#MySQL5.5.8
[client]
port=3306
socket=/opt/mysql/mysql.sock
[mysqld]
port=3306
socket=/opt/mysql/mysql.sock
user=mysql
skip-slave-start
skip-name-resolve
key_buffer_size=2M
read_buffer_size=2M
sort_buffer_size=2M
#5.1.3table_cachedeprecated
table_open_..
分类:
其他好文 时间:
2015-03-09 19:20:00
阅读次数:
177
从官方下载的flume-ng的源码里有单元测试的代码,本文就通过单元测试来体验下flume中avro的性能如何
本文中的一个event的body内容大小是1KB,读者可自行组织文本,达到1KB即可,方便测试时,性能的计算
for (int i = 0; i < client.getBatchSize(); i++) {
Event event = channel.take()...
分类:
Web程序 时间:
2015-03-09 16:16:56
阅读次数:
5816
1.修改MySQL的配置文件(默认为/etc/my.cnf),在[mysqld]下添加一行skip-grant-tables2.保存配置文件后,重启MySQL服务 service mysqld restart3.再次进入MySQL命令行 mysql -uroot -p,输入密码时直接回车,进入MyS...
分类:
数据库 时间:
2015-03-08 22:53:36
阅读次数:
207
如果出现“#skip-innodb”则将“#”去掉,重启MySQL;如果第一条无法解决,加上配置:default-storage-engine=InnoDB再重启MySQL。进入MYsql数据据mysql>show engines;转自百度经验:http://jingyan.baidu.com/ar...
分类:
数据库 时间:
2015-03-08 01:25:43
阅读次数:
213
[['my','dog','has','flea','problems','help','please'], 0
['maybe','not','take','him','to','dog','park','stupid'],
1
['my','dalmation','is','so','cute','I','love','him'],
0
...
分类:
编程语言 时间:
2015-03-06 12:47:43
阅读次数:
262
10.6 - Apple and our customers place a high value on simple, refined, creative, well thought through interfaces. They take more work but are worth it....
分类:
移动开发 时间:
2015-03-06 09:36:22
阅读次数:
179