无法连接数据库:Too many connections
> /app/base/lib/db/connections.php:177
> | #0 | trigger_error(...string(42) "无法连接数据库:Too many connections"
,'256') | connections.php:177 |
| #1 | base_db_connections->_connect('127.0.0.1','root','fonde@528','sfimport') | connections.php:165 |
| #2 | base_db_connections->_rw_conn() | connections.php:150 |
| #3 | base_db_connections->_ro_conn() | connections.php:90 |
| #4 | base_db_connections->select(...string(60) "SELECT count(*) as _count FROM `sdb_import_dic_unit` WHERE 1"
) | model.php:47 |
| #5 | dbeav_model->count('') | service.php:309 |
| #6 | cbesite_ctl_site_service->search() | |
| #7 | call_user_func_array(...array(2) {
[0]=>
object(cbesite_ctl_site_service)#23 (25) {
["__theme":"site_controller":private]=>
NULL
["__tmpl":"site_controller":private]=>
NULL
["__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(1) {
["act"]=>
string(6) "search"
}
["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)#22 (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(7) "cbesite"
["app_dir"]=>
string(38) "/data/www/ZhfwImpSYExpress/app/cbesite"
["public_app_dir"]=>
string(45) "/data/www/ZhfwImpSYExpress/public/app/cbesite"
["res_url"]=>
string(43) "http://sfcbe.com/public/app/cbesite/statics"
["res_full_url"]=>
string(43) "http://sfcbe.com/public/app/cbesite/statics"
["lang_url"]=>
string(40) "http://sfcbe.com/public/app/cbesite/lang"
["lang_full_url"]=>
string(40) "http://sfcbe.com/public/app/cbesite/lang"
["widgets_url"]=>
string(43) "http://sfcbe.com/public/app/cbesite/widgets"
["widgets_full_url"]=>
string(43) "http://sfcbe.com/public/app/cbesite/widgets"
["res_dir"]=>
string(53) "/data/www/ZhfwImpSYExpress/public/app/cbesite/statics"
["widgets_dir"]=>
string(53) "/data/www/ZhfwImpSYExpress/public/app/cbesite/widgets"
["lang_dir"]=>
string(50) "/data/www/ZhfwImpSYExpress/public/app/cbesite/lang"
["_lang_resource"]=>
NULL
}
["params"]=>
array(0) {
}
["_request"]=>
object(base_component_request)#12 (11) {
["_app":protected]=>
string(7) "cbesite"
["_app_key":protected]=>
string(3) "app"
["_ctl":protected]=>
string(12) "site_service"
["_ctl_key":protected]=>
string(3) "ctl"
["_act":protected]=>
string(6) "search"
["_act_key":protected]=>
string(3) "act"
["_params":protected]=>
array(0) {
}
["_ext_param_source":protected]=>
array(2) {
[0]=>
string(3) "GET"
[1]=>
string(4) "POST"
}
["_request_uri":protected]=>
string(20) "/service-search.html"
["_core_url":protected]=>
NULL
["_path_info":protected]=>
NULL
}
["_response"]=>
object(base_component_response)#13 (5) {
["_headers":protected]=>
array(1) {
[0]=>
array(3) {
["name"]=>
string(13) "Cache-Control"
["value"]=>
string(17) "no-store,no-cache"
["replace"]=>
bool(false)
}
}
["_raw_headers":protected]=>
array(0) {
}
["_http_response_code":protected]=>
int(200)
["_is_redirect":protected]=>
bool(false)
["_bodys":protected]=>
array(0) {
}
}
["header"]=>
string(59) ""
["action"]=>
string(6) "search"
}
[1]=>
string(6) "search"
}
,...array(0) {
}
) | router.php:606 |
| #8 | site_router->default_dispatch() | router.php:490 |
| #9 | site_router->dispatch('service-search.html') | kernel.php:165 |
| #10 | kernel::boot() | index.php:23 |