发布时间:2013-06-28 11:45:48
备份还原1 备份svn服务器文件数据打包conf目录svnadmin dump /data/svn/gm > gm_bak2 上传备份目录到备机rsync -avz gm_bak conf.tar.gz conf.tar.gz 192.168.1.241:/data/svn3 登录备机ssh 192.168.1.2414 创建库svnadmin create /data/svn/gm5 还原服务器备份文件且覆盖conf目录.........【阅读全文】
发布时间:2013-06-26 17:42:29
update_server.sh#!/bin/sh#first mkdir test in server and client ,chmod -R 777 testread -p "input source directory:" sdirread -p "input destination directory:" ddirdir=/data/www/test#dirid=/data/home/app100683143dirid=/rootalone (){ read -p "input client .........【阅读全文】
发布时间:2013-06-20 10:28:16
在想删除这个库时报错mysql> drop database xiyou_config;ERROR 2013 (HY000): Lost connection to MySQL server during query暂时解决办法是先停mysql 在把库文件移除,重启mysql。暂时这样,具体报错原因未知......【阅读全文】
发布时间:2013-06-15 10:40:06
MASTER grant replicationslave on *.* to repl_user@'%' identified by '123a' WITH GRANT OPTION; mysql> flush tables with read lock;Query OK, 0 rowsaffected (0.00 sec) mysqldump-h127.0.0.1 -uye -p123a --all-databases > backup.sql mysql> unloc.........【阅读全文】
发布时间:2013-06-14 11:41:03
grant all privileges on myjob.* to myjob@'%' identified by '********' WITH GRANT OPTION;......【阅读全文】