Chinaunix首页 | 论坛 | 博客
  • 博客访问: 98391
  • 博文数量: 26
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 322
  • 用 户 组: 普通用户
  • 注册时间: 2013-03-27 13:38
文章分类

全部博文(26)

文章存档

2014年(4)

2013年(22)

我的朋友

发布时间: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目录.........【阅读全文】

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

发布时间: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 .........【阅读全文】

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

发布时间:2013-06-20 10:28:16

在想删除这个库时报错mysql> drop database xiyou_config;ERROR 2013 (HY000): Lost connection to MySQL server during query暂时解决办法是先停mysql  在把库文件移除,重启mysql。暂时这样,具体报错原因未知......【阅读全文】

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

发布时间: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.........【阅读全文】

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

发布时间:2013-06-14 11:41:03

grant all privileges on myjob.* to myjob@'%' identified by '********' WITH GRANT OPTION;......【阅读全文】

阅读(1135) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册