锘??xml version="1.0" encoding="utf-8" standalone="yes"?>91精品婷婷国产综合久久蝌蚪,亚洲视频在线一区,一个人看的www视频在线免费观看http://www.aygfsteel.com/programmer/category/27880.htmlzh-cnFri, 01 Feb 2008 04:57:58 GMTFri, 01 Feb 2008 04:57:58 GMT60闆嗘垚ACEGI 榪涜鏉冮檺鎺у埗http://www.aygfsteel.com/programmer/archive/2008/01/30/178565.htmlwadewadeWed, 30 Jan 2008 09:28:00 GMThttp://www.aygfsteel.com/programmer/archive/2008/01/30/178565.htmlhttp://www.aygfsteel.com/programmer/comments/178565.htmlhttp://www.aygfsteel.com/programmer/archive/2008/01/30/178565.html#Feedback0http://www.aygfsteel.com/programmer/comments/commentRss/178565.htmlhttp://www.aygfsteel.com/programmer/services/trackbacks/178565.html澧炲姞Junit 嫻嬭瘯, 榪欐牱鍙互鍦ㄦ敼鍙樻潈闄愬悗, 鏂逛究鍦版鏌ユ槸鍚﹁緗紜?
Acegi 鎻愪緵鐨凾ag涓嶈兘鍒ゆ柇褰撳墠鐢ㄦ埛瀵規煇涓涓猆RL鏈夋病鏈夋潈闄? 鐢變簬寰堝鏃跺欓渶瑕佹牴鎹綋鍓嶇敤鎴風殑鏉冮檺鏉ユ帶鍒舵煇浜涘姛鑳芥槸鍚︽樉紺? 鎵浠ュ鍔犵浉搴旂殑Tag
濡傛灉褰撳墠鐢ㄦ埛娌℃湁鎸囧畾url鐨勬潈闄?鏄劇ず鏈儴鍒嗗唴瀹?/auth:ifNotAuthrized>
濡傛灉褰撳墠鐢ㄦ埛鏈夋寚瀹歶rl鐨勬潈闄?鏄劇ず鏈儴鍒嗗唴瀹?/auth:ifAuthrized>

  闃呰鍏ㄦ枃

wade 2008-01-30 17:28 鍙戣〃璇勮
]]>
How To: open Mysql binary loghttp://www.aygfsteel.com/programmer/archive/2007/11/13/165572.htmlwadewadeTue, 13 Nov 2007 07:49:00 GMThttp://www.aygfsteel.com/programmer/archive/2007/11/13/165572.htmlhttp://www.aygfsteel.com/programmer/comments/165572.htmlhttp://www.aygfsteel.com/programmer/archive/2007/11/13/165572.html#Feedback0http://www.aygfsteel.com/programmer/comments/commentRss/165572.htmlhttp://www.aygfsteel.com/programmer/services/trackbacks/165572.html
#server-id       = 1
log-bin         = /var/log/mysql/mysql-bin.log
#if you set the expire_logs_days = x var in the [mysqld] section of your my.cnf it will automatically rotate your bin logs after x days.
expire_logs_days = 30
#it will create a new log file when the current file reach the specified size.
max_binlog_size = 100M

 


wade 2007-11-13 15:49 鍙戣〃璇勮
]]>
How To: using bash script to backup MySqlhttp://www.aygfsteel.com/programmer/archive/2007/11/13/165573.htmlwadewadeTue, 13 Nov 2007 07:49:00 GMThttp://www.aygfsteel.com/programmer/archive/2007/11/13/165573.htmlhttp://www.aygfsteel.com/programmer/comments/165573.htmlhttp://www.aygfsteel.com/programmer/archive/2007/11/13/165573.html#Feedback0http://www.aygfsteel.com/programmer/comments/commentRss/165573.htmlhttp://www.aygfsteel.com/programmer/services/trackbacks/165573.html
#get the first parameter as the database name
DATABASE=$1
#if no database specified, then you can set the default one
if [ -z $DATABASE ]; then
DATABASE=default_database_name_here
fi

#mysql user and password to backup the database. MYSQLUSER=mysql_user MYSQLPWD=mysql_password #path to backup ARCHIVEPATH=~/backup/db_backup DATE=`date +%Y%m%d` YEAR=`date +%Y` MONTH=`date +%m` FOLDER_MONTH=$ARCHIVEPATH/$YEAR$MONTH if [ ! -d $FOLDER_MONTH ]; then
echo "mkdir $FOLDER_MONTH" mkdir $FOLDER_MONTH fi # Backup echo "mysqldump -u$MYSQLUSER -p$MYSQLPWD $DATABASE | gzip > $FOLDER_MONTH/$DATABASE-$DATE.sql.gz" mysqldump -u$MYSQLUSER -p$MYSQLPWD $DATABASE | gzip > $FOLDER_MONTH/$DATABASE-$DATE.sql.gz

 

and you can add the script to cron job under *nix and schedule under windows:

*nix:

Save the following text in file: db_backup.at

10 * * * * ~/backup/backup_db.sh databasename

and call

crontab db_backup.at

You need to change the period to run the script for your business, e.g. each day, each week etc.


 


wade 2007-11-13 15:49 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 桃源县| 射洪县| 上犹县| 两当县| 盐津县| 博客| 凌源市| 黄骅市| 汽车| 宁陕县| 溆浦县| 木兰县| 嘉义市| 澜沧| 东安县| 宝清县| 叙永县| 司法| 元氏县| 定边县| 石柱| 昆山市| 汕头市| 平乡县| 安图县| 延津县| 潼南县| 怀柔区| 宝坻区| 嘉定区| 偏关县| 扎鲁特旗| 曲沃县| 北宁市| 南开区| 寿阳县| 西畴县| 资溪县| 大石桥市| 湟中县| 乳山市|