摘要:
Auth: jinDate: 20140422参考:http://dev.mysql.com/doc/refman/5.1/zh/replication.html#replication-optionshttp://dev.mysql.com/doc/refman/5.1/en/replicatio... 阅读全文
摘要:
Auth: jinDate: 20140414sourcedir=/mnt/shelldir=/home/shell/userdir= /home/jin#mount /dev/sdb1 /mnt/cp -R /mnt/Documents /home/jin/ && chown -R jin.us... 阅读全文
摘要:
Auth: JinDate: 20140414版本:13.1步骤1.安装opensuse 语言选择英文2.设置最近的源 比如sohu,1633.update4.Control Center ->system-Language主要语言选择简单中文支持语言选择英文下一步后会安装语言包和中文输入法中文输入... 阅读全文
摘要:
Auth: JinDate: 20140414UpdateDate:继续更新导库字符集的问题http://www.cnblogs.com/diege/p/3640618.htmlmysql-proxy使用中的问题http://www.cnblogs.com/diege/p/3630467.htmlm... 阅读全文
摘要:
Auth: JinDate: 201404141.master-slave同步问题1)故障描述和错误代码:监控报警slave故障登录slave服务器查看mysql> show slave status\G发现有Errno详细的记录在另外电脑,电脑硬盘坏了,没有具体的报错了2)排查步骤:(1)查看错误... 阅读全文
摘要:
Auth: JinDate: 20140403Content: 1 #!/bin/bash - 2 ### auth: Jin 3 ### date: 20140403 4 ### Desc: 备份输入库里的所有表,清理指定天前的备份文件 5 ### Usage: ./dump_mysqltable.sh 6 7 BACKDIR=/data/BackupPC/database 8 BACKUPLOG=${BACKDIR}/dump_mysqltable.log 9 TODAY=`date +%F`10 DELDAY=`date -d "7 day ago" +%F`11 D 阅读全文
摘要:
Auth: JinDate: 20140403Content: 1 #!/bin/bash - 2 ### auth: Jin 3 ### date: 20140402 4 ### Desc: 根据配置文件里的ip,端口(dblist文件格式为192.168.201.245:3303:sso:root:passwd),数据库名dump备份mysql数据,清理指定天前的备份文件,通过ssh隧道追加同步到其他IDC服务器上 5 ### Usage: ./dump_mysqldatabase.sh 6 7 BACKDIR=/data/BackupPC/database 8 LIST=${BACK.. 阅读全文
摘要:
Auth: JinDate: 20140403Content: 1 #!/bin/bash - 2 ### auth: Jin 3 ### date: 20140311 4 ### Desc: 创建没有写入权限的普通用户,创建修改随机密码脚本changepassword.sh并将脚本加入crontab 5 ### Usage: ./tmp.sh 6 7 #user and permit 8 groupadd viewer && useradd viewer -g viewer && cat /proc/sys/kernel/random/uuid|passwd 阅读全文
摘要:
Auth: Jin1.session问题Date: 20140328问题描述:基于openx 的广告系统,将数据从单点,迁移到mmm集群,前端无法访问报错信息如下:MDB2 Error: Array_doQuery: [Error message: Could not execute statement][Last executed query: EXECUTE MDB2_STATEMENT_mysql_231aaea2d6a8cace7c73797d81dc6ea8 USING @0][Native code: 1243][Native message: Unknown prepared s 阅读全文