发布时间:2013-01-10 17:13:04
1. mysql根据时间段导出数据mysqldump --default-character-set=utf8 --add-drop-table=false -h${HOST} -u${USER} -p${PASS} activity_weibo luxurycar_activity_weibo${i} -w "weibotime > '2012-10-1 00:00' and weibotime < '2012-10-20 00:00'"|gzip > activity_weibo`date +%Y%m%d`.tar.gz......【阅读全文】
发布时间:2013-01-10 16:13:04
1. 安装useradd mysql yum install gcc gcc-c++ autoconf automake ncurses ncurses-devel wget vim cmakewget http://cdn.mysql.com/Downloads/MySQL-5.5/mysql-5.5.28.tar.gztar zxvf mysql-5.5.28.tar.gzcd $(echo mysql-5.5.28.tar.gz |awk '{gsub(".tar.gz","")}{print}')cmake . -DCMAKE_INSTALL_PREFIX=/usr......【阅读全文】