string sKey = username.Text.ToString().Trim(); //
得到Cache中的给定Key的值 string sUser = Convert.ToString(Cache[sKey]); // 检查是否存在 if
(sUser == null || sUser....
分类:
其他好文 时间:
2014-05-08 12:18:20
阅读次数:
258
mysql -h10.81.32.196 -P5152 -Dns_map_data_new
-uwangyuchuan_r -p3DLg15rhSsm0O7Nsselect uid,name from t_area_info where
uid=1960;
分类:
其他好文 时间:
2014-05-08 12:00:24
阅读次数:
247
转载自:http://www.cnblogs.com/hanxirensheng/archive/2012/07/13/2589939.html今天用spring+hibernate+struts2写了一个简单的示例程序,使用spring来管理hibernate处理数据,整合了
struts2,用了...
分类:
数据库 时间:
2014-05-08 11:36:40
阅读次数:
359
先查看一下ssh服务状态:# svcs或# svcs | grep sshonline
Aug_07 svc:/network/ssh:default 如需要关闭ssh服务(关闭完可以 svcs | grep ssh 查看一下状态):#
svcadm disable svc:/n...
分类:
其他好文 时间:
2014-05-08 11:30:53
阅读次数:
443
import java.io.IOException;import
org.apache.hadoop.conf.Configuration;import org.apache.hadoop.fs.Path;import
org.apache.hadoop.io.Text;import org.ap...
分类:
其他好文 时间:
2014-05-08 11:27:24
阅读次数:
309
Python+Django+SAE系列教程12-----配置MySQL数据库...
分类:
数据库 时间:
2014-05-08 00:20:06
阅读次数:
452
首先,在从库上执行:showslavestatus\G,发现SQL显示:NO,并且报错删除日志子类的。解决方法:才从库上连续执行若干次如下命令即可解决:mysql>slavestop;mysql>SETGLOBALSQL_SLAVE_SKIP_COUNTER=1;#跳过一个事务mysql>slavestart;
分类:
其他好文 时间:
2014-05-07 22:27:15
阅读次数:
390
information_schema是MySQL下的DB,
存储了数据库的数据字典,但OS系统上,并没有information_schema下表的数据和结构文件。所以,MySQL在针对information_schema下的表进行查询的时候,在内存中构造了memory引擎的临时表,把数据填充进去.....
分类:
数据库 时间:
2014-05-07 20:42:37
阅读次数:
435
默认情况下,hive的元数据信息存储在内置的Derby数据中。Facebook将hive元数据存储在关系数据库1、安装好mysql ,sudo apt-get
install mysql-server2、创建mysql用户hadoop $mysql-uroot-p 进入root用户 mysql>.....
分类:
数据库 时间:
2014-05-07 20:40:00
阅读次数:
554