无法连接数据库:Connection refused

>  /custom/base/lib/db/connections.php:176
#0trigger_error(...无法连接数据库:Connection refused,'256')connections.php:176
#1base_db_connections->_connect('127.0.0.1','ks_ecstore','1ks_ecstore1','ks_ecstore')connections.php:165
#2base_db_connections->_rw_conn()connections.php:150
#3base_db_connections->_ro_conn()connections.php:90
#4base_db_connections->select(...select * from sdb_dbeav_meta_register)metadata.php:27
#5dbeav_metadata->__construct('all')kernel.php:338
#6kernel::single('dbeav_metadata','all')meta.php:96
#7dbeav_meta::get_meta_column('sdb_b2c_members')model.php:34
#8dbeav_model->use_meta()members.php:34
#9b2c_mdl_members->__construct(object(appapp::__set_state(array( '__render' => NULL, '__router' => NULL, '__define' => NULL, '__taskrunner' => NULL, '__appConf' => array ( ), '__checkVaryArr' => array ( ), '__appSetting' => array ( ), '__langPack' => array ( ), '__installed' => NULL, '__actived' => NULL, 'app_id' => 'b2c', 'app_dir' => '/srv/www/www.czx.com/app/b2c', 'res_url' => 'http://songshan.czxshop.com/app/b2c/statics', 'res_full_url' => 'http://songshan.czxshop.com/app/b2c/statics', 'lang_url' => 'http://songshan.czxshop.com/app/b2c/lang', 'lang_full_url' => 'http://songshan.czxshop.com/app/b2c/lang', 'widgets_url' => 'http://songshan.czxshop.com/app/b2c/widgets', 'widgets_full_url' => 'http://songshan.czxshop.com/app/app/b2c/widgets', 'res_dir' => '/srv/www/www.czx.com/app/b2c/statics', 'widgets_dir' => '/srv/www/www.czx.com/app/b2c/widgets', 'lang_dir' => '/srv/www/www.czx.com/app/b2c/lang', '_lang_resource' => NULL, ))))kernel.php:338
#10kernel::single('b2c_mdl_members',object(appapp::__set_state(array( '__render' => NULL, '__router' => NULL, '__define' => NULL, '__taskrunner' => NULL, '__appConf' => array ( ), '__checkVaryArr' => array ( ), '__appSetting' => array ( ), '__langPack' => array ( ), '__installed' => NULL, '__actived' => NULL, 'app_id' => 'b2c', 'app_dir' => '/srv/www/www.czx.com/app/b2c', 'res_url' => 'http://songshan.czxshop.com/app/b2c/statics', 'res_full_url' => 'http://songshan.czxshop.com/app/b2c/statics', 'lang_url' => 'http://songshan.czxshop.com/app/b2c/lang', 'lang_full_url' => 'http://songshan.czxshop.com/app/b2c/lang', 'widgets_url' => 'http://songshan.czxshop.com/app/b2c/widgets', 'widgets_full_url' => 'http://songshan.czxshop.com/app/app/b2c/widgets', 'res_dir' => '/srv/www/www.czx.com/app/b2c/statics', 'widgets_dir' => '/srv/www/www.czx.com/app/b2c/widgets', 'lang_dir' => '/srv/www/www.czx.com/app/b2c/lang', '_lang_resource' => NULL, ))))app.php:78
#11app->model('members')router.php:505
#12site_router->define_host_domain()router.php:538
#13site_router->dispatch('gallery-1221.html')kernel.php:162
#14kernel::boot()index.php:5