先提个问题:如何不重启mysqld,且没有权限修改用户账号和权限的情况下,如何重新设置root密码?不知道没关系,在此之前我也是不知道如何操作的,先看看下面的几种重置root密码的方法。1、skip-grant-tables我们常用的方法是使用skip-grant-tables选项,mysqldserver启动之后并..
分类:
数据库 时间:
2016-07-21 20:17:42
阅读次数:
345
# /etc/init.d/mysql stop # mysqld_safe --user=mysql --skip-grant-tables --skip-networking & # mysql -u root mysql mysql> UPDATE user SET Password=PASS ...
分类:
数据库 时间:
2016-07-21 17:33:05
阅读次数:
164
SynchronousQueue是这样一种阻塞队列,其中每个 put 必须等待一个 take,反之亦然。同步队列没有任何内部容量,甚至连一个队列的容量都没有。 不能在同步队列上进行 peek,因为仅在试图要取得元素时,该元素才存在; 除非另一个线程试图移除某个元素,否则也不能(使用任何方法)添加元素 ...
分类:
其他好文 时间:
2016-07-21 15:01:07
阅读次数:
150
Mysql之主从复制节点一修改配置文件设置唯一ID开起二进制日志[root@node1~]#vim/etc/my.cnf增加以下内容
[mysqld]
log-bin=master_bin开起二进制日志
server_id=1给主节点一个唯一的ID号
innodb_file_per_table=oninnodb开起独立表空间
skip_name_resolve=on开启跳过主机名反解..
分类:
数据库 时间:
2016-07-19 14:08:56
阅读次数:
249
开始从u-boot-2016.05\arch\arm\cpu\arm920t\start.S中reset执行
reset -> cpu_init_crit -> lowlevel_init -> _mainreset:...#ifndef CONFIG_SKIP_LOWLEVEL_INIT
bl cpu_init_crit
#endif bl _main...#ifndef C...
分类:
其他好文 时间:
2016-07-19 11:04:26
阅读次数:
267
An interface for the units of computation which can be composed into a Net.
Layer&s must implement a Forward function, in which they take their input (bottom) Blob&s (if any) and compute their outp...
分类:
其他好文 时间:
2016-07-19 10:36:49
阅读次数:
221
###忘记密码vim/etc/my.cf在[mysqld]中添加skip-grant-tables重启Mysql现在可以直接进入mysql,改掉root密码执行以下命令USEmysql;UPDATEuserSETPassword=password(‘新密码‘)WHEREUser=‘root‘;更新user表中root密码flushprivileges;删掉/etc/my.cf中添加的skip-grant-tables重..
分类:
数据库 时间:
2016-07-16 07:12:15
阅读次数:
221
Filter 只发射通过了谓词测试的数据项
OfType ofType是filter操作符的一个特殊形式它过滤一个Observable只返回指定类型的数据
Take 只发射开始的N项数据
TakeLast 只发射最后N个元素
TakeLastBuffer 将最后的N项数据当做单个数据发射
Skip 跳过开始的N项数据
SkipLast 跳过后面...
分类:
编程语言 时间:
2016-07-15 11:11:01
阅读次数:
643
In this blog, I want take a different approach and describe the technical challenge encountered while bench characterizing the OPA857, a dedicatedtran ...
分类:
其他好文 时间:
2016-07-14 19:09:14
阅读次数:
214
尝试用RVM升级Ruby http://blog.csdn.net/lissdy/article/details/9191351 如果碰到下面问题 Searching for binary rubies, this might take some time. No binary rubies ava ...
分类:
系统相关 时间:
2016-07-14 08:34:37
阅读次数:
1155