无法连接数据库:Connection refused

>  /app/base/lib/db/connections.php:184
#0trigger_error(...string(40) "无法连接数据库:Connection refused" ,'256')connections.php:184
#1base_db_connections->_connect('127.0.0.1','root','ecstorepwd123','ecs2')connections.php:173
#2base_db_connections->_rw_conn()connections.php:158
#3base_db_connections->_ro_conn()connections.php:98
#4base_db_connections->select(...string(37) "select * from sdb_dbeav_meta_register" )metadata.php:27
#5dbeav_metadata->__construct('all')kernel.php:347
#6kernel::single('dbeav_metadata','all')meta.php:96
#7dbeav_meta::get_meta_column('sdb_b2c_brand')model.php:34
#8dbeav_model->use_meta()brand.php:21
#9b2c_mdl_brand->__construct(object(appobject(app)#10 (23) { ["__render":"app":private]=> NULL ["__router":"app":private]=> NULL ["__define":"app":private]=> NULL ["__taskrunner":"app":private]=> NULL ["__checkVaryArr":"app":private]=> array(0) { } ["__langPack":"app":private]=> array(0) { } ["__installed":"app":private]=> NULL ["__actived":"app":private]=> NULL ["__setting":"app":private]=> NULL ["app_id"]=> string(3) "b2c" ["app_dir"]=> string(42) "/home/wwwroot/tokyoplus_yimitec_cn/app/b2c" ["public_app_dir"]=> string(49) "/home/wwwroot/tokyoplus_yimitec_cn/public/app/b2c" ["res_url"]=> string(42) "http://tokyoplus.jp/public/app/b2c/statics" ["favicon"]=> string(43) "http://tokyoplus.jp/public/app/site/statics" ["res_full_url"]=> string(42) "http://tokyoplus.jp/public/app/b2c/statics" ["lang_url"]=> string(39) "http://tokyoplus.jp/public/app/b2c/lang" ["lang_full_url"]=> string(39) "http://tokyoplus.jp/public/app/b2c/lang" ["widgets_url"]=> string(42) "http://tokyoplus.jp/public/app/b2c/widgets" ["widgets_full_url"]=> string(42) "http://tokyoplus.jp/public/app/b2c/widgets" ["res_dir"]=> string(57) "/home/wwwroot/tokyoplus_yimitec_cn/public/app/b2c/statics" ["widgets_dir"]=> string(57) "/home/wwwroot/tokyoplus_yimitec_cn/public/app/b2c/widgets" ["lang_dir"]=> string(54) "/home/wwwroot/tokyoplus_yimitec_cn/public/app/b2c/lang" ["_lang_resource"]=> NULL } ))kernel.php:347
#10kernel::single('b2c_mdl_brand',object(appobject(app)#10 (23) { ["__render":"app":private]=> NULL ["__router":"app":private]=> NULL ["__define":"app":private]=> NULL ["__taskrunner":"app":private]=> NULL ["__checkVaryArr":"app":private]=> array(0) { } ["__langPack":"app":private]=> array(0) { } ["__installed":"app":private]=> NULL ["__actived":"app":private]=> NULL ["__setting":"app":private]=> NULL ["app_id"]=> string(3) "b2c" ["app_dir"]=> string(42) "/home/wwwroot/tokyoplus_yimitec_cn/app/b2c" ["public_app_dir"]=> string(49) "/home/wwwroot/tokyoplus_yimitec_cn/public/app/b2c" ["res_url"]=> string(42) "http://tokyoplus.jp/public/app/b2c/statics" ["favicon"]=> string(43) "http://tokyoplus.jp/public/app/site/statics" ["res_full_url"]=> string(42) "http://tokyoplus.jp/public/app/b2c/statics" ["lang_url"]=> string(39) "http://tokyoplus.jp/public/app/b2c/lang" ["lang_full_url"]=> string(39) "http://tokyoplus.jp/public/app/b2c/lang" ["widgets_url"]=> string(42) "http://tokyoplus.jp/public/app/b2c/widgets" ["widgets_full_url"]=> string(42) "http://tokyoplus.jp/public/app/b2c/widgets" ["res_dir"]=> string(57) "/home/wwwroot/tokyoplus_yimitec_cn/public/app/b2c/statics" ["widgets_dir"]=> string(57) "/home/wwwroot/tokyoplus_yimitec_cn/public/app/b2c/widgets" ["lang_dir"]=> string(54) "/home/wwwroot/tokyoplus_yimitec_cn/public/app/b2c/lang" ["_lang_resource"]=> NULL } ))app.php:80
#11app->model('brand')brand.php:52
#12b2c_ctl_site_brand->index('19')
#13call_user_func_array(...array(2) { [0]=> object(b2c_ctl_site_brand)#25 (29) { ["seoTag"]=> array(2) { [0]=> string(8) "shopname" [1]=> string(5) "brand" } ["member":protected]=> array(0) { } ["__theme":"site_controller":private]=> NULL ["__tmpl":"site_controller":private]=> string(9) "brandlist" ["__tmpl_file":"site_controller":private]=> NULL ["__tmpl_main_app_id":"site_controller":private]=> NULL ["__widgets_css":"site_controller":private]=> array(0) { } ["__finish_modifier":"site_controller":private]=> array(0) { } ["__cachecontrol":"site_controller":private]=> array(4) { ["access"]=> string(6) "public" ["no-cache"]=> string(0) "" ["no-store"]=> string(0) "" ["max-age"]=> string(9) "max-age=1" } ["transaction_start"]=> bool(false) ["contentType"]=> string(23) "text/html;charset=utf-8" ["enable_strip_whitespace"]=> bool(false) ["is_splash"]=> bool(false) ["pagedata"]=> array(0) { } ["force_compile"]=> int(0) ["_tag_stack"]=> array(0) { } ["_end_message"]=> NULL ["_compiler":"base_render":private]=> NULL ["_files"]=> array(0) { } ["_tpl_key_prefix"]=> array(0) { } ["_ignore_pre_display"]=> bool(false) ["app"]=> object(app)#10 (23) { ["__render":"app":private]=> NULL ["__router":"app":private]=> NULL ["__define":"app":private]=> NULL ["__taskrunner":"app":private]=> NULL ["__checkVaryArr":"app":private]=> array(0) { } ["__langPack":"app":private]=> array(0) { } ["__installed":"app":private]=> NULL ["__actived":"app":private]=> NULL ["__setting":"app":private]=> NULL ["app_id"]=> string(3) "b2c" ["app_dir"]=> string(42) "/home/wwwroot/tokyoplus_yimitec_cn/app/b2c" ["public_app_dir"]=> string(49) "/home/wwwroot/tokyoplus_yimitec_cn/public/app/b2c" ["res_url"]=> string(42) "http://tokyoplus.jp/public/app/b2c/statics" ["favicon"]=> string(43) "http://tokyoplus.jp/public/app/site/statics" ["res_full_url"]=> string(42) "http://tokyoplus.jp/public/app/b2c/statics" ["lang_url"]=> string(39) "http://tokyoplus.jp/public/app/b2c/lang" ["lang_full_url"]=> string(39) "http://tokyoplus.jp/public/app/b2c/lang" ["widgets_url"]=> string(42) "http://tokyoplus.jp/public/app/b2c/widgets" ["widgets_full_url"]=> string(42) "http://tokyoplus.jp/public/app/b2c/widgets" ["res_dir"]=> string(57) "/home/wwwroot/tokyoplus_yimitec_cn/public/app/b2c/statics" ["widgets_dir"]=> string(57) "/home/wwwroot/tokyoplus_yimitec_cn/public/app/b2c/widgets" ["lang_dir"]=> string(54) "/home/wwwroot/tokyoplus_yimitec_cn/public/app/b2c/lang" ["_lang_resource"]=> NULL } ["params"]=> array(0) { } ["_request"]=> object(base_component_request)#12 (11) { ["_app":protected]=> string(3) "b2c" ["_app_key":protected]=> string(3) "app" ["_ctl":protected]=> string(10) "site_brand" ["_ctl_key":protected]=> string(3) "ctl" ["_act":protected]=> string(5) "index" ["_act_key":protected]=> string(3) "act" ["_params":protected]=> array(1) { [0]=> string(2) "19" } ["_ext_param_source":protected]=> array(2) { [0]=> string(3) "GET" [1]=> string(4) "POST" } ["_request_uri":protected]=> string(14) "/brand-19.html" ["_core_url":protected]=> NULL ["_path_info":protected]=> NULL } ["_response"]=> object(base_component_response)#13 (5) { ["_headers":protected]=> array(0) { } ["_raw_headers":protected]=> array(0) { } ["_http_response_code":protected]=> int(200) ["_is_redirect":protected]=> bool(false) ["_bodys":protected]=> array(0) { } } ["shopname"]=> string(9) "Tokyoplus" ["title"]=> string(19) "品牌页_Tokyoplus" ["keywords"]=> string(19) "品牌页_Tokyoplus" ["description"]=> string(19) "品牌页_Tokyoplus" } [1]=> string(5) "index" } ,...array(1) { [0]=> string(2) "19" } )router.php:608
#14site_router->default_dispatch()router.php:492
#15site_router->dispatch('brand-19.html')kernel.php:165
#16kernel::boot()index.php:5