摘要: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
阅读全文
摘要:Auth: JinDate: 2014-04-03前端操作,后续测试对外开放不在本文准备阶段操作阶段后续阶段需求:phpcms和anquanzuo在一个mysql实例中anquanzuo有一张视图为phpcms三张表部分字段的字段和组合phpcms迁移到master-slave的mmm架构anquanzuo迁移到ndb架构一、准备阶段信息采集和权限授予(一)phpcms1.字符集环境字符集3304-phpcms>show variables like 'char%';+--------------------------+-------------------------
阅读全文
摘要:Auth: JinDate: 20140317需求将NFS共享IP切换为192.168.201.221,通过192.168.201.0网段提供共享(10.0.0.0和192.168.201.0都能使用)将NFS共享目录切换到/data/BackupPC/nfs/,这样纳入BackupPC备份NFS 原来的配置/data/backup/nfs 10.0.0.0/24(rw,sync,no_root_squash)/data/backup/nfs/gbstore 10.0.0.0/24(rw,sync,no_root_squash)/data/backup/nfs/gbdms ...
阅读全文
摘要:rdate -s 129.7.1.66rdate: 129.7.1.66: Servname not supported for ai_socktypentpdate 0.centos.pool.ntp.orgError : Servname not supported for ai_socktype14 Mar 15:24:00 ntpdate[19681]: can't find host 0.centos.pool.ntp.org[root@JQ-other-host-221 ~]# ntpdate 202.112.10.36Error : Servname not suppor
阅读全文
摘要:Auth: jinDate: 20140314OS:CentOS release 5.5 (Final)默认2.4版本莫1.downloadwgethttp://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz2.install pythontar -zxvf Python-2.7.6.tgz && cdPython-2.7.6./configure --prefix=/usr/local/python27/make && make installPIPYwgethttps://pypi.python.org/pa
阅读全文
摘要:参考:http://www.cnblogs.com/chengmo/archive/2010/10/23/1858879.html$ cat /proc/sys/kernel/random/uuiddff68213-b700-4947-87b1-d9e640334196$ cat /proc/sys/kernel/random/uuid7b57209a-d285-4fd0-88b4-9d3162d2e1bc#连续2次读取,得到的uuid是不同的$ cat /proc/sys/kernel/random/uuid| cksum | cut -f1 -d" "214180755
阅读全文
摘要:Date: 20140305Auth: Jin一、概念1、基本概念触发器是一个被指定关联到一个表的数据对象,触发器是不需要调用的,当对一个表的特别事件出现时,它就被激活。触发器的代码也是由SQL语句组成的,因此用在存储过程中的语句也可以用在触发器的定义中。触发器是一类特殊的存储过程。2、类型SQL2008中分为:DML和DDL触发器1)DML触发器当数据库发生DML事件时将调用DML触发器。INSERT,UPDATE,DELETE2)DDL触发器当数据库发生DDL事件时将调用DDL触发器。CREATE,ALTER,DROP二、SQL20081、创建DML触发器CREATE TRIGGER tr
阅读全文
摘要:openSUSE-13.1-Update-sohu-mirrorhttp://mirrors.sohu.com/opensuse/update/13.1/openSUSE-13.1-Oss-sohu-mirrorhttp://mirrors.sohu.com/opensuse/distribution/13.1/repo/oss/openSUSE-13.1-Update-Non-Oss-sohu-mirrorhttp://mirrors.sohu.com/opensuse/update/13.1-non-oss/openSUSE-13.1-Non-Oss-sohu-mirrorhttp://m
阅读全文