无法连接数据库:Connection refused

>  /app/base/lib/db/connections.php:176
#0trigger_error(...string(40) "无法连接数据库:Connection refused" ,'256')connections.php:176
#1base_db_connections->_connect('127.0.0.1','root','ecstorepassword123','ecs1')connections.php:165
#2base_db_connections->_rw_conn()connections.php:150
#3base_db_connections->_ro_conn()connections.php:90
#4base_db_connections->select(...string(93) "SELECT UPPER(`type`) AS `type`, UPPER(`name`) AS `name`, `expire` FROM sdb_base_cache_expires" ,'1')cachemgr.php:490
#5cachemgr::fetch_vary_list('1')cachemgr.php:498
#6cachemgr::fetch_vary_list()abstract.php:33
#7base_cache_abstract->check_vary_list()secache.php:24
#8base_cache_secache->__construct(object(appobject(app)#11 (22) { ["__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) "base" ["app_dir"]=> string(27) "/home/wwwroot/ecs1/app/base" ["public_app_dir"]=> string(34) "/home/wwwroot/ecs1/public/app/base" ["res_url"]=> string(55) "https://www.qingzhiliangpin.com/public/app/base/statics" ["res_full_url"]=> string(55) "https://www.qingzhiliangpin.com/public/app/base/statics" ["lang_url"]=> string(52) "https://www.qingzhiliangpin.com/public/app/base/lang" ["lang_full_url"]=> string(52) "https://www.qingzhiliangpin.com/public/app/base/lang" ["widgets_url"]=> string(55) "https://www.qingzhiliangpin.com/public/app/base/widgets" ["widgets_full_url"]=> string(55) "https://www.qingzhiliangpin.com/public/app/base/widgets" ["res_dir"]=> string(42) "/home/wwwroot/ecs1/public/app/base/statics" ["widgets_dir"]=> string(42) "/home/wwwroot/ecs1/public/app/base/widgets" ["lang_dir"]=> string(39) "/home/wwwroot/ecs1/public/app/base/lang" ["_lang_resource"]=> NULL } ))kernel.php:341
#9kernel::single('base_cache_secache')cachemgr.php:120
#10cachemgr::instance()cachemgr.php:201
#11cachemgr::get(...string(33) "SITE_PAGE_CACHE:/product-690.html" ,'','1')router.php:487
#12site_router->dispatch('product-690.html')kernel.php:165
#13kernel::boot()index.php:5