- 博客(8)
- 资源 (4)
- 收藏
- 关注
原创 windows下mysqldump导出数据出错 couldn't execute 'show triggers like'
windows下mysqldump导出数据出错 couldn't execute 'show triggers like' tb\_cate\_360_goos'':cantn't create/write to file 'c:\windows\temp\#sql_bd4_0.MYD' <Errcode:13> (1)猜测估计是写入临时文件出错,google看了下。...
2013-03-22 14:52:27 1182
原创 linux主机名hostname设置
Linux 下什么都比较麻烦,就连修改主机名也不例外。Linux 安装好后,其默认的主机名是 localhost。修改 Linux 主机名需要3步。使用 hostname 修改当前主机名。hostname new-hostname修改 /etc/sysconfig/network 配置文件,以便下次重启的时,使用新的主机名。打开 /etc/sysconfig/network 文件,...
2013-03-15 13:22:51 113
原创 集合遍历的方法
ArrayList a = new ArrayList(); a.add(11); a.add(22); a.add("dadad"); a.add('b'); 1. 对于ArrayList来说速度比较快, 用for循环, 以size为条件遍历: for (int i = 0; i <...
2013-03-15 09:47:09 83
原创 ArrayList长度的初始化
public static void show1() { int count = 2000000; Long start = System.currentTimeMillis(); ArrayList<TestTime> at = new ArrayList<TestTime>(count); ...
2013-03-14 15:25:53 860
原创 Java集合
Java的集合框架,抽其核心,主要有三种:List、Set和Map。如下图所示: 需要注意的是,这里的 Collection、List、Set和Map都是接口(Interface),不是具体的类实现。 List lst = new ArrayList(); 这是我们平常经常使用的创建一个新的List的语句,在这里, List是接口,ArrayList才是具体的类。 常用集合类的继承结构如下: C...
2013-03-14 10:32:23 55
原创 is not allowed to connect to this MySQL server分析
连接MySQL数据库服务器出现is not allowed to connect to this MySQL server提示信息。开始以为没有做授权IP授权,但是明明记得已经做了。通过查询监听的3306端口,看到对应的IP是局域网IPnetstat -an | find "3306" 再查看my.conf看到 [mysqld]段,有bind-address=192.168.1....
2013-03-13 20:52:56 65
原创 WebStorm 5/rubyMine/phpStorm/pyCharm 激活 注册
以下内容仅进行技术交流使用。 WebStorm 5/rubyMine/phpStorm/pyCharm/著作权归捷克Jetbrains 公司所有。请支持该公司产品正版。webStorm5.0.4官方地址:http://download.jetbrains.com/webide/WebStorm-5.0.4.exewebStorm :UserName:William===== LICEN...
2013-03-04 09:54:20 446
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人