yangyi
项目合作联系我: yangyi_love@hotmail.com

02 2010 档案

  • mysql 命令
    摘要: 1:提升某个用户的权限 dbname 指定用户grant all on*.* to sfsuser@'%';2:从备份文件中恢复mysql –usfsuser –p111111 dbname < 文件路径/文件名;3:登陆远程mysqlmysql -h10.0.0.1 -usfsuser -p111111;4:设置数据默认字符集vi /etc/my.cof找到客户端配...阅读全文
    posted @ 2010-02-24 10:11 谁是菜鸟? 阅读(75) | 评论 (0) 编辑
  • java.util.ConcurrentModificationException
    摘要: 对ArrayList迭代操作的过程中出现remove或者add时会抛出java.util.ConcurrentModificationException异常产生的代码:for(Object o:arralylist){  if(true) arralylist.remove(o);}解决方法:for(int i=0;i<arralylist.size();i++){  if(true)   ...阅读全文
    posted @ 2010-02-03 10:39 谁是菜鸟? 阅读(191) | 评论 (0) 编辑