Authored by whb

bug

<?php
class Util_Cache_Adapter_Memcached implements Util_Cache_Adapter_Interface {
private $_domain = 'www.pre.yoho.cn'; //域名
private $_domain = 'www.dev.yoho.cn'; //域名
private $_class = 'default'; //分类
private $_prefix = ''; //前缀
... ...
... ... @@ -16,7 +16,7 @@ class Util_Dao_Dsn
public static function getDbServer($dbname, $readtag = true, $dbType = 'Mysql',$charset='UTF8MB4')
{
$options = array(
'dbname' => 'pre_'.$dbname,
'dbname' => $dbname,
'readtag' => $readtag
);
$server = Util_Server::factory('Db', $dbType, $options)->loadBalanceServer();
... ...
[mysql]
pre_yohood.username = yohodb
pre_yohood.password = yohonj_9646_mysql
pre_yohood.writers = 10.170.183.158:5510
pre_yohood.readers = 10.170.183.158:5510
yohood.username = yohodb
yohood.password = yohonj_9646_mysql
yohood.writers = 127.0.0.1:5510
yohood.readers = 127.0.0.1:5510
... ...