1、安装完Vbox后,通过vbox来安装oracle-linux时报“VT-x features locked or unavailable in MSR”; 2、报错原因:CPU没有开启虚拟化支持 3、进入BIOS-》CPU CONFIG 开启OK 4、每个人的机器型号都不相同,因此开启时候要好好
分类:
数据库 时间:
2016-01-29 20:12:54
阅读次数:
181
DB:5.5.14OS:CentOS 6.3安装多实例MySQL数据库,安装完成后默认无密码,一次性给所有实例的root账户创建密码:#!/bin/bash for i in {3361..3363} do /export/servers/mysql/bin/mysql -uroot -S /exp
分类:
数据库 时间:
2016-01-29 20:10:07
阅读次数:
167
函数调用后 html_entity_decode() 函数把 HTML 实体转换为字符 <?php $str = "John & 'Adams'"; echo html_entity_decode($str); echo "<br />"; echo html_entity_decode($str,
分类:
数据库 时间:
2016-01-29 20:08:58
阅读次数:
182
用mysqlbinlog查出需要查看的数据后,可以用more来查看:[root@yoon data]# more recover_sakila.sql | grep --ignore-case -E 'insert' -A2 -B2 | grep yoon如果表名包含yoon_log,yoon_or
分类:
数据库 时间:
2016-01-29 20:07:18
阅读次数:
167
首先配置keepalived。链接如下:http://blog.itpub.net/28939273/viewspace-1808369/主服务器keepalived的配置文件内容如下:[root@yoon keepalived]# cat keepalived.conf vrrp_script c
分类:
数据库 时间:
2016-01-29 20:06:01
阅读次数:
211
Linux中使用最广泛的数据库就是MySQL,使用在线yum的方式安装的版本落后MySQL网站好几个小版本, 所以折腾了几个星期,终于在CentOS 装好了mysql5.6,装完之后,对整个linux的操作,有提升了一个档次。 下面讲讲我在安装mysql中遇到的问题 测试机器环境: VMware W
分类:
数据库 时间:
2016-01-29 20:01:00
阅读次数:
274
InnoDB存储引擎从1.2.x开始支持全文索引技术,其采用full inverted index的方式。在InnoDB存储引擎中,将(DocumentID,Postition)视为一个ilist。因此在全文检索的表中,有两个列,一个是word字段,一个是ilist字段。并且在word字段上有设索引
分类:
数据库 时间:
2016-01-29 20:00:21
阅读次数:
238
data profile的功能就是查看一个数据集(如一张表)的各种档案(如各行的长度统计、空值统计)。用处是:全面了解一个数据集里面的数据情况。 1.新建data profiling控制流任务 2.新增连接 3.指定输出位置 4.配置输出地址 5.选择dota profiling 请求类型 6.执行
分类:
数据库 时间:
2016-01-29 20:00:36
阅读次数:
217
在5.6版本中,MySQL可以通过mysql_config_editor登录数据库,变得更加安全。[root@hank-yoon ~]# mysql_config_editor set --login-path=yoon --user=root --password登录数据库:[root@hank-
分类:
数据库 时间:
2016-01-29 19:58:30
阅读次数:
171
源代码地址:http://code.taobao.org/p/orzdba/src/trunk/ [root@hank-yoon servers]# chmod +x orzdba在代码的160行左右,配置自己的MySQL验证信息:username、password、socket、host、port
分类:
数据库 时间:
2016-01-29 19:56:36
阅读次数:
247
left join(左联接) 返回包括左表中的所有记录和右表中联结字段相等的记录 right join(右联接) 返回包括右表中的所有记录和左表中联结字段相等的记录inner join(等值连接) 只返回两个表中联结字段相等的行 举例如下: -----------------------------
分类:
数据库 时间:
2016-01-29 19:54:42
阅读次数:
197
droidbox官网,droidbox已经移植到github上了 https://github.com/pjlantz/droidbox
分类:
数据库 时间:
2016-01-29 19:55:52
阅读次数:
381
1. 搭建基本环境 插入测试数据 insert into jgdm (jgdm,jgmc) values('12300000000','河南省');insert into jgdm (jgdm,jgmc) values('12300000005','河南省郑州市');commit;insert in
分类:
数据库 时间:
2016-01-29 19:54:08
阅读次数:
385
[root@b28-17-51 ~]#mkdir -p /export/data [root@b28-17-51 ~]#mkdir -p /export/log [root@b28-17-51 export]#tar -xvf mongodb-linux-x86_64-3.0.6.tgz [root
分类:
数据库 时间:
2016-01-29 19:44:49
阅读次数:
225
1、假设备份文件xxxx.bak大小约300G,还原后所占用的空间为900G 2、磁盘空间只有1T,若将备份文件拷贝过来,空间剩余700G,无法成功还原,因此通过远程方式还原。 例子如下: SQLSERVER服务实例名称: 192.168.12.163需要备份的数据库名称: a备份机器名称(Clie
分类:
数据库 时间:
2016-01-29 19:44:43
阅读次数:
201
[root@iZ28r2sl9qkZ data]# service mysqld restartMySQL server PID file could not be found! [FAILED]Starting MySQL.The server quit without updating PID
分类:
数据库 时间:
2016-01-29 19:38:59
阅读次数:
132
在开发的过程中,遇到过not in 始终查询不到数据问题 select * from T_CustomerInfo where CustomerID not in (select CustomerID from T_OrderInfo) 后来使用not exists查询 select * from
分类:
数据库 时间:
2016-01-29 19:37:51
阅读次数:
246