Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2314806
  • 博文数量: 276
  • 博客积分: 5998
  • 博客等级: 大校
  • 技术积分: 5175
  • 用 户 组: 普通用户
  • 注册时间: 2010-12-24 14:43
文章分类

全部博文(276)

文章存档

2014年(25)

2013年(11)

2012年(69)

2011年(167)

2010年(4)

发布时间:2012-12-26 10:01:29

点击(此处)折叠或打开 #!/bin/bash FILE='20121224_Finaldatapm.csv' MYSQL='/usr/local/mysql/bin/mysql' USER='root' PASSWD='root' DB='ITIMS' while read i do     eval $(echo $i|awk -F',' '{ printf("a=%s\nb=%d\nc=%d\nd=%d\ne=%d\nf=%s",$1,$2,$3,$4,$5,$6); }')   &n......【阅读全文】

阅读(5617) | 评论(2) | 转发(2)

发布时间:2012-12-20 16:14:35

server:192.168.26.130 rpm -qa |grep rsync #检查系统是否安装了rsync软件包rsync-2.6.8-3.1 rpm -ivh rsync-2.6.8-3.1.i386.rpm # 如果没有安装则手动安装  vim /etc/xinetd.d/rsync 1 配置rsync server将disable=yes改为no service rsync{disable = nosocket_type = streamwait = nouser = rootserver = /usr/bin/rsyncserver_args = -......【阅读全文】

阅读(2080) | 评论(0) | 转发(0)

发布时间:2012-12-12 14:23:21

原文:http://hi.baidu.com/litertiger/blog/item/506cb5debaa3d55bccbf1aed.html    import MySQLdb  db_user = "tiger"  db_pw = "tiger"  db = MySQLdb.connect(host="localhost", user=db_user, passwd=db_pw ,db="finaltldw",charset="gb2312")  c = db.cursor()  c.execute("""select id, name from NODES""")  i=0;  fo......【阅读全文】

阅读(2359) | 评论(0) | 转发(0)

发布时间:2012-12-12 14:22:44

向au_online_info插入一条记录,如果au_online_total表中存在相同userid的记录,则total_online,total_score累加online_time,如果不存在就向表au_online_total中一条记录(total_online,total_score为相同值)。 点击(此处)折叠或打开 Create Table: CREATE TABLE `au_online_info` (   `id` int(11) NOT NULL AUTO_INCREMENT,   `userid` bigi......【阅读全文】

阅读(2673) | 评论(0) | 转发(0)

发布时间:2012-11-14 15:21:32

......【阅读全文】

阅读(2671) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

tomcoding2018-07-26 14:33

来我的博客看看吧

回复  |  举报

noiplee2013-12-24 15:29

有营养哈哈

回复  |  举报

电影vs程序员2013-08-22 18:18

博客不错

回复  |  举报

大鬼不动2011-01-04 08:17

回复  |  举报
留言热议
请登录后留言。

登录 注册