二、数据库操作 1、show databases; //列出数据库 2、use
database_name //使用database_name数据库 3、create database data_name
//创建名为data_name的数据库 4、drop database data_name /...
分类:
数据库 时间:
2014-05-16 03:06:36
阅读次数:
437
这是因为JDK配置错误所导致的现象。一般说来,新购笔记本会预装64位的windows系统,而在网上下载软件时,32位会优先出现在页面中(现在来说是这个情况,但我认为未来64位会越来越普及)。如果你是64位的系统,却安装了32位的JDK,就会导致上面的情况。解决办法如下:卸载掉原来安装的32位的JDK...
分类:
系统相关 时间:
2014-05-15 21:51:27
阅读次数:
455
1.慢查询日志:slow_launch_time=2
查询大于某个时间的值(单位:s)slow_query_log=on/off
开启关闭慢查询日志slow_query_log_file=/opt/data/host-slow.log
慢查询日志位置2.连接数:max_connections MyS...
分类:
数据库 时间:
2014-05-15 21:44:08
阅读次数:
447
有时候会碰到如题这种问题,从网上查知解决办法,非常管用为eclipse.exe创建一个快捷方式,然后快捷方式上右键-属性,在目标栏填入E:\eclipse\eclipse.exe
-vm "C:\Program Files\Java\jdk1.6.0_16\bin\javaw.exe" -data ...
分类:
系统相关 时间:
2014-05-15 21:31:41
阅读次数:
317
jsfunction:selectBox:function(){ var
li=$(this); var selectbox=li.parent().parent();
selectbox.attr("data-checked",li.attr("data-value"));...
分类:
其他好文 时间:
2014-05-15 21:07:32
阅读次数:
287
1、gem安装出现下面错误
root@ubuntu:/home/git/gitlab# sudo gem install bundler --no-ri --no-rdoc
ERROR: Could not find a valid gem 'bundler' (>= 0), here is why:
Unable to download data from https...
分类:
其他好文 时间:
2014-05-15 18:19:48
阅读次数:
304
数据导入HBase最常用的三种方式及实践分析
摘要:要使用Hadoop,需要将现有的各种类型的数据库或数据文件中的数据导入HBase。一般而言,有三种常见方式:使用HBase的API中的Put方法,使用HBase
的bulk load工具和使用定制的MapReduce Job方式。本文均有详细描述。
【编者按】要使用Hadoop,数据合并至...
分类:
其他好文 时间:
2014-05-15 18:15:19
阅读次数:
495
区别:1、Assembly.LoadFile只载入相应的dll文件,比如Assembly.LoadFile("a.dll"),则载入a.dll,假如a.dll中引用了b.dll的话,b.dll并不会被载入。Assembly.LoadFrom则不一样,它会载入dll文件及其引用的其他dll,比如上面的...
分类:
其他好文 时间:
2014-05-15 18:02:16
阅读次数:
176
send($data)`. The sent data will then* be the
result of the `yield` expression. Thus it can be received using a code like*
`$data = yield;`.*/ /* What...
分类:
其他好文 时间:
2014-05-15 17:46:37
阅读次数:
311
using System;using
System.Collections.Generic;using System.Linq;using System.Text;using
System.Data;using System.Reflection;namespace TestConsole{ ...
分类:
其他好文 时间:
2014-05-15 17:07:04
阅读次数:
187