Closed smilefisher closed 3 years ago
弹出框错误: 1 第一次错误 错误: installApp catch execption:insert relation info catch exception:[TC_Mysql::connect]: mysql_real_connect: Unknown database 'db_dcache_relation' 2 关闭第一次错误后,再次点击发布服务 报错: 错误: installApp catch execption:insert server name:DCache.DcacheTest1RouterServer catch exception:[TC_Mysql::execute]: mysql_query: [ insert into t_config_files (config,config_flag,filename,host,lastuser,level,posttime,server_name) values (' \n # 应用名称\n AppName=DcacheTest1\n # 数据库配置重新装载最小间隔时间\n DbReloadTime=300000\n # 管理接口的Obj\n AdminRegObj=tars.tarsregistry.AdminRegObj\n \n # 是否开启ETCD为Router集群(Router集群需要利用ETCD来做选举)\n enable=N\n # 所有ETCD机器的IP地址,以分号分割\n host=x.x.x.x:port;x.x.x.x:port\n # ETCD通信请求的超时时间(秒)\n RequestTimeout=3\n # Router主机心跳的维持时间(秒)\n EtcdHbTTL=60\n \n \n # 清理代理的最近未访问时间\n ProxyMaxSilentTime=1800\n # 清理代理的间隔时间\n ClearProxyInterval=1800\n # 轮询迁移数据库的时间\n TransferInterval=3\n # 轮询线程数\n TimerThreadSize=20\n # 等待页迁移的超时时间(毫秒)\n TransferTimeOut=3000\n # 迁移时隔多少页整理一下数据库记录\n TransferDefragDbInterval=50\n # 重新执行迁移指令的时间间隔(秒)\n RetryTransferInterval=1\n # 迁移失败时的最大重试次数\n RetryTransferMaxTimes=3\n # 一次迁移页数\n TransferPagesOnce=10\n # 每个组分配的最小迁移线程数\n MinTransferThreadEachGroup=5\n # 每个组分配的最大迁移线程数\n MaxTransferThreadEachGroup=8\n \n \n # 是否开启cache主备自动切换\n enable=N\n # 自动切换超时的检测间隔(秒)\n SwitchCheckInterval= 10\n # 自动切换的超时时间(秒)\n SwitchTimeOut=60\n # 自动切换执行的线程数(默认1个)\n SwitchThreadSize=50\n # 备机不可读的超时时间(秒)\n SlaveTimeOut=60\n # 主备切换时,主备机binlog差异的阈值(毫秒)\n SwitchBinLogDiffLimit=300\n # 一天当中主备切换的最大次数\n SwitchMaxTimes=3\n # 主备切换时等待主机降级的时间(秒)\n DowngradeTimeout=30\n \n \n \n charset=utf8\n dbname=db_cache_DcacheTest1\n dbhost=172.25.0.2\n dbpass=123456\n dbport=3306\n dbuser=root\n \n \n charset=utf8mb4\n dbname=db_dcache_relation\n dbhost=172.25.0.2\n dbpass=123456\n dbport=3306\n dbuser=root\n \n \n \n',0,'DcacheTest1RouterServer.conf','','system',2,'2021-06-24 09:58:41','DCache.DcacheTest1RouterServer') ] :Duplicate entry 'DCache.DcacheTest1RouterServer-DcacheTest1RouterServer.conf--2--' for key 'application'
config
config_flag
filename
host
lastuser
level
posttime
server_name
弹出框错误: 1 第一次错误 错误: installApp catch execption:insert relation info catch exception:[TC_Mysql::connect]: mysql_real_connect: Unknown database 'db_dcache_relation' 2 关闭第一次错误后,再次点击发布服务 报错: 错误: installApp catch execption:insert server name:DCache.DcacheTest1RouterServer catch exception:[TC_Mysql::execute]: mysql_query: [ insert into t_config_files (
config
,config_flag
,filename
,host
,lastuser
,level
,posttime
,server_name
) values (' \n # 应用名称\n AppName=DcacheTest1\n # 数据库配置重新装载最小间隔时间\n DbReloadTime=300000\n # 管理接口的Obj\n AdminRegObj=tars.tarsregistry.AdminRegObj\n \n # 是否开启ETCD为Router集群(Router集群需要利用ETCD来做选举)\n enable=N\n # 所有ETCD机器的IP地址,以分号分割\n host=x.x.x.x:port;x.x.x.x:port\n # ETCD通信请求的超时时间(秒)\n RequestTimeout=3\n # Router主机心跳的维持时间(秒)\n EtcdHbTTL=60\n \n \n # 清理代理的最近未访问时间\n ProxyMaxSilentTime=1800\n # 清理代理的间隔时间\n ClearProxyInterval=1800\n # 轮询迁移数据库的时间\n TransferInterval=3\n # 轮询线程数\n TimerThreadSize=20\n # 等待页迁移的超时时间(毫秒)\n TransferTimeOut=3000\n # 迁移时隔多少页整理一下数据库记录\n TransferDefragDbInterval=50\n # 重新执行迁移指令的时间间隔(秒)\n RetryTransferInterval=1\n # 迁移失败时的最大重试次数\n RetryTransferMaxTimes=3\n # 一次迁移页数\n TransferPagesOnce=10\n # 每个组分配的最小迁移线程数\n MinTransferThreadEachGroup=5\n # 每个组分配的最大迁移线程数\n MaxTransferThreadEachGroup=8\n \n \n # 是否开启cache主备自动切换\n enable=N\n # 自动切换超时的检测间隔(秒)\n SwitchCheckInterval= 10\n # 自动切换的超时时间(秒)\n SwitchTimeOut=60\n # 自动切换执行的线程数(默认1个)\n SwitchThreadSize=50\n # 备机不可读的超时时间(秒)\n SlaveTimeOut=60\n # 主备切换时,主备机binlog差异的阈值(毫秒)\n SwitchBinLogDiffLimit=300\n # 一天当中主备切换的最大次数\n SwitchMaxTimes=3\n # 主备切换时等待主机降级的时间(秒)\n DowngradeTimeout=30\n \n \n \n charset=utf8\n dbname=db_cache_DcacheTest1\n dbhost=172.25.0.2\n dbpass=123456\n dbport=3306\n dbuser=root\n \n \n charset=utf8mb4\n dbname=db_dcache_relation\n dbhost=172.25.0.2\n dbpass=123456\n dbport=3306\n dbuser=root\n \n \n \n',0,'DcacheTest1RouterServer.conf','','system',2,'2021-06-24 09:58:41','DCache.DcacheTest1RouterServer') ] :Duplicate entry 'DCache.DcacheTest1RouterServer-DcacheTest1RouterServer.conf--2--' for key 'application'