无法连接数据库: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(137) "SELECT member_id,login_account,login_type FROM `sdb_pam_members` WHERE 1 AND `sdb_pam_members`.member_id='' LIMIT 0, 18446744073709551615" )connections.php:147
#5base_db_connections->selectlimit(...string(107) "SELECT member_id,login_account,login_type FROM `sdb_pam_members` WHERE 1 AND `sdb_pam_members`.member_id=''" ,'-1','0')model.php:64
#6dbeav_model->getList(...string(34) "member_id,login_account,login_type" ,...array(1) { ["member_id"]=> bool(false) } )object.php:179
#7b2c_user_object->_get_pam_members_data(...string(34) "member_id,login_account,login_type" ,'')object.php:140
#8b2c_user_object->get_members_data(...array(2) { ["account"]=> string(34) "member_id,login_account,login_type" ["members"]=> string(60) "member_id,member_lv_id,name,sex,experience,cur,advance,point" } )object.php:92
#9b2c_user_object->get_member_info()object.php:81
#10b2c_user_object->get_current_member()objects.php:47
#11b2c_cart_objects->get_current_member()gift.php:32
#12gift_cart_object_gift->__construct(object(appobject(app)#50 (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(4) "gift" ["app_dir"]=> string(43) "/home/wwwroot/tokyoplus_yimitec_cn/app/gift" ["public_app_dir"]=> string(50) "/home/wwwroot/tokyoplus_yimitec_cn/public/app/gift" ["res_url"]=> string(43) "http://tokyoplus.jp/public/app/gift/statics" ["favicon"]=> string(43) "http://tokyoplus.jp/public/app/site/statics" ["res_full_url"]=> string(43) "http://tokyoplus.jp/public/app/gift/statics" ["lang_url"]=> string(40) "http://tokyoplus.jp/public/app/gift/lang" ["lang_full_url"]=> string(40) "http://tokyoplus.jp/public/app/gift/lang" ["widgets_url"]=> string(43) "http://tokyoplus.jp/public/app/gift/widgets" ["widgets_full_url"]=> string(43) "http://tokyoplus.jp/public/app/gift/widgets" ["res_dir"]=> string(58) "/home/wwwroot/tokyoplus_yimitec_cn/public/app/gift/statics" ["widgets_dir"]=> string(58) "/home/wwwroot/tokyoplus_yimitec_cn/public/app/gift/widgets" ["lang_dir"]=> string(55) "/home/wwwroot/tokyoplus_yimitec_cn/public/app/gift/lang" ["_lang_resource"]=> NULL } ))kernel.php:347
#13kernel::single(...string(21) "gift_cart_object_gift" )service.php:53
#14service->filter()service.php:36
#15service->valid()service.php:15
#16service->__construct(...array(1) { ["list"]=> array(3) { [0]=> string(21) "gift_cart_object_gift" [1]=> string(22) "b2c_cart_object_coupon" [2]=> string(21) "b2c_cart_object_goods" } } ,'')kernel.php:374
#17kernel::servicelist('b2c_cart_object_apps')cart.php:297
#18b2c_mdl_cart->unset_data()cart.php:50
#19b2c_ctl_site_cart->__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
#20kernel::single('b2c_ctl_site_cart',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:76
#21app->controller('site_cart')router.php:602
#22site_router->default_dispatch()router.php:492
#23site_router->dispatch(...string(29) "cart-add-goods-500-508-1.html" )kernel.php:165
#24kernel::boot()index.php:5