全部博文(271)
发布时间:2014-01-03 15:05:12
1. zookeeper 下载地址 http://zookeeper.apache.org/releases.html2.zookeeper 安装 python中有一个zkpython的包,是基于zookeeper的c-client开发的,所以安装的时候需要先安装zookeeper的c客户端。安装步骤如下http://mirrors.cnnic.cn/apache/zookeeper/current/zookeeper-3.4.5.tar.gztar xzvf zookeeper-3..........【阅读全文】
发布时间:2013-11-11 11:33:26
/dev/hdb1 is apparently in use by the system; will not make a filesystem here!解决方法 [root@localhost ~]# mkfs.ext3 /dev/hdb1mke2fs 1.39 (29-May-2006)/dev/hdb1 is apparently in use by the system; will not make a filesystem here! [root@localhost ~]# mkfs.ext3 /dev/hdc1mke2fs 1.39.........【阅读全文】
发布时间:2013-09-05 15:02:47
1. MySQL 获得当前时间戳函数:current_timestamp, current_timestamp() 代码如下 mysql> select current_timestamp, current_timestamp();+---------------------+---------------------+| current_timestamp | current_timestamp() .........【阅读全文】
发布时间:2013-09-04 13:20:19
存储过程: create procedure Pro_GetUserInfo(in szEmpName varchar(1000)) -> begin -> declare strSql varchar(1000); -> set strSql = concat('insert into TmpTable_UserInfo(EmpName,PcName,IP) select EmpName,PcName,IP from .........【阅读全文】