You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 ston ...
分类:
其他好文 时间:
2016-03-27 07:06:37
阅读次数:
146
1.首先创建一个Maven工程 File --> New --> Other,然后选择Maven目录下的Maven Project,如下图: 然后在弹出的面板中选择配置后,下一步即可,如图: Create a simple project (skip archetype selection) :此选... ...
分类:
编程语言 时间:
2016-03-27 01:27:38
阅读次数:
333
1.停止mysql 服务:service mysqld stop; 2.vim命令打开mysql配置文件my.cnf(位置一般为:/etc/my.cnf) 3.在mysqld进程配置文件中添加skip-grant-tables,添加完成后保存。 4.重新打开mysql服务:service mysql ...
分类:
数据库 时间:
2016-03-26 13:49:30
阅读次数:
171
原因是mysql的密码有问题 解决办法: 具体操作步骤: 关闭 mysql: # service mysqld stop 然后: # mysqld_safe --skip-grant-tables 启动 mysql: # service mysqld start ...
分类:
数据库 时间:
2016-03-24 17:56:39
阅读次数:
159
作为MySQL调优的一部分,很多人都推荐开启skip_name_resolve。这个参数是禁止域名解析的(当然,也包括主机名)。很多童鞋会好奇,这背后的原理是什么,什么情况下开启这个参数比较合适。 基于以下原因,MySQL服务端会在内存中维护着一份host信息, 包括三部分:IP,主机名和错误信息。 ...
分类:
其他好文 时间:
2016-03-24 12:53:04
阅读次数:
226
如果有一天你忘记了root的密码,我们可以利用--skip-grant-tables这个参数,具体实施如下:[root@HE1bin]#mysql-uroot-pEnterpassword:ERROR1045(28000):Accessdeniedforuser‘root‘@‘localhost‘(usingpassword:YES)[root@HE1bin]#ps-ef|grepmysqlroot75722398000:58pts/100:00:..
分类:
数据库 时间:
2016-03-23 06:52:15
阅读次数:
246
并不是所有人都需要INNODB引擎,虽然它弥补了MYSQL缺乏事务支持的毛病,但是它的磁盘性能一直是让人比较担忧的。另外比较老的PHP系统,大多是采用MYISAM引擎在MYSQL建表,似乎INNODB根本用不上场,这时候可以考虑将INNODB禁掉。在MYSQL 5.6中,直接skip-innodb前
分类:
数据库 时间:
2016-03-19 12:57:14
阅读次数:
225
1 安装cloudfoundry cli 客户端 2 带密码等录 cf login --skip-ssl-validation -a https://api.yourcompany.com -u username -p password 3 显示组织(org) cf orgs 4 创建组织(org)
分类:
其他好文 时间:
2016-03-17 19:08:44
阅读次数:
167
1.多行函数 break on deptno skip 2; break on null; 2.多表查询 1)笛卡尔集 2)等值连接 3)非等值连接 4)外连接 5)内连接 6)层次查询(只能有一张表 connect by prior empno = mgr start width empno =
分类:
数据库 时间:
2016-03-16 20:50:42
阅读次数:
308
A:Dad,how can I take better study notes? B:Okay,look.Divide your pate into two columns. A:Like this? B:No.the one on the right should be larger. A:Let
分类:
其他好文 时间:
2016-03-16 08:21:35
阅读次数:
177