编辑MySql的配置文件:my.ini(在MySql安装目录下)。 打开配置文件,在文件最后一行添加:skip-grant-tables,然后保存退出。 意思为就是在启mysql时不启动grant-tables 编辑MySql的配置文件:my.ini(在MySql安装目录下)。 打开配置文件,在文件 ...
分类:
数据库 时间:
2016-06-17 15:31:59
阅读次数:
227
We are used to building distributed systems on top of large middleware platforms like those implementing CORBA, the Web Services protocols stack, J2EE, etc. In this article, we take a different approa...
分类:
其他好文 时间:
2016-06-16 14:41:49
阅读次数:
364
RxJava 方法过滤相关RxJava提供了filter()方法来过滤我们观测序列中不想要的值当我们不需要整个序列时,而是只想取开头或结尾的几个元素,我们可以用take()或takeLast()一个可观测序列会在出错时重复发射或者被设计成重复发射。distinct()和distinctUntilChanged()函数可以方便的让我们处理这种重复问题。(它会记录以及发射的值来过滤,所以请注意内存)fi...
分类:
编程语言 时间:
2016-06-16 11:43:48
阅读次数:
546
登陆从库,在丛库下面操作以下三行:stopslave;setglobalsql_slave_skip_counter=1;(1是指跳过一个错误)slavestart;
分类:
数据库 时间:
2016-06-16 00:08:47
阅读次数:
164
Windows:1. 管理员登陆系统,停止MySQL服务或者结束mysqld-nt进程2. 进入命令行,来到mysql的安装目录.假设安装目录为 d:\mysql\ , CMD进入命令行3. 运行 d:\mysql\bin\mysqld-nt --skip-grant-tables 启动mysql, ...
分类:
数据库 时间:
2016-06-15 17:28:28
阅读次数:
182
找到MySQL配置文件,搜索“bind-address”,找到这一行: bind-address = 127.0.0.1 在前面加一个#,注释掉这一行,保存,重启MySQL。 再通过远程访问就可以了,telnet可以发现端口也打开了。 例配置: 1. 确保skip-networking被删除或者屏蔽 ...
分类:
数据库 时间:
2016-06-15 12:46:51
阅读次数:
657
非常有用的mysql启动参数—— --skip-grant-tables。 顾名思义,就是在启动mysql时不启动grant-tables,授权表。有什么用呢?当然是忘记管理员密码后有用。 在mysql.cnf 配置文件中加上skip-grant-tables,然后重启mysql服务 操作方法: 1 ...
分类:
数据库 时间:
2016-06-14 13:51:17
阅读次数:
185
说到查询,我们一般就想起了关系型数据库的查询了,比如:order by(排序)、limit(分页)、范围查询(大于某个值,小于某个值..,in查询,on查询,like查询等待很多),同样mongodb同样也支持这些操作,只是语法不同,比如排序:mongodb里面使用了skip(field:1/-1) ...
分类:
数据库 时间:
2016-06-14 10:06:12
阅读次数:
227
http://mathoverflow.net/questions/9799/how-much-work-does-it-take-to-be-a-successful-mathematician# __________________________________________________ ...
分类:
其他好文 时间:
2016-06-13 22:09:05
阅读次数:
192
Oingial aritial --> Link Take away: When you use `templateUrl` & `styleUrls`, the path are relative to the application root. So if you compoennt is pu ...
分类:
其他好文 时间:
2016-06-11 22:48:47
阅读次数:
491