无法连接数据库:Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
> /app/base/lib/db/connections.php:176
| > | #0 | trigger_error(...string(94) "无法连接数据库:Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"
,'256') | connections.php:176 |
| #1 | base_db_connections->_connect('localhost','tovi2',...string(23) "znHmkML8zZDozHStovi0114"
,'ecos') | 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(192) "SELECT t2.* FROM (SELECT column_id FROM `sdb_network_column` WHERE 1 AND `sdb_network_column`.column_id in ('1701') LIMIT 0, 1) AS t1,sdb_network_column AS t2 WHERE t1.column_id=t2.column_id"
) | model.php:89 |
| #5 | dbeav_model->getList('*',...array(1) {
["column_id"]=>
string(4) "1701"
}
,'0','1') | model.php:339 |
| #6 | base_db_model->db_dump(...array(1) {
["column_id"]=>
string(4) "1701"
}
,'*') | model.php:405 |
| #7 | dbeav_model->dump('1701') | branch.php:51 |
| #8 | network_ctl_site_branch->index('1701') | |
| #9 | call_user_func_array(...array(2) {
[0]=>
object(network_ctl_site_branch)#24 (29) {
["seoTag"]=>
array(2) {
[0]=>
string(8) "shopname"
[1]=>
string(7) "network"
}
["__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) {
["zixun_click"]=>
string(59) "http://wpa.qq.com/msgrd?v=3&uin=1542819405&site=qq&menu=yes"
}
["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)#21 (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]=>
object(base_setting)#26 (4) {
["app"]=>
*RECURSION*
["__source_file_path"]=>
string(56) "/www/web/new_tovi_cn/public_html/app/network/setting.php"
["__app_conf":"base_setting":private]=>
array(2) {
["service_link"]=>
string(2) "qq"
["service_qq"]=>
string(10) "1542819405"
}
["__app_setting":"base_setting":private]=>
array(0) {
}
}
["app_id"]=>
string(7) "network"
["app_dir"]=>
string(44) "/www/web/new_tovi_cn/public_html/app/network"
["public_app_dir"]=>
string(51) "/www/web/new_tovi_cn/public_html/public/app/network"
["res_url"]=>
string(45) "http://www.tovi.cn/public/app/network/statics"
["res_full_url"]=>
string(45) "http://www.tovi.cn/public/app/network/statics"
["lang_url"]=>
string(42) "http://www.tovi.cn/public/app/network/lang"
["lang_full_url"]=>
string(42) "http://www.tovi.cn/public/app/network/lang"
["widgets_url"]=>
string(45) "http://www.tovi.cn/public/app/network/widgets"
["widgets_full_url"]=>
string(45) "http://www.tovi.cn/public/app/network/widgets"
["res_dir"]=>
string(59) "/www/web/new_tovi_cn/public_html/public/app/network/statics"
["widgets_dir"]=>
string(59) "/www/web/new_tovi_cn/public_html/public/app/network/widgets"
["lang_dir"]=>
string(56) "/www/web/new_tovi_cn/public_html/public/app/network/lang"
["_lang_resource"]=>
NULL
}
["params"]=>
&array(0) {
}
["_request"]=>
object(base_component_request)#12 (11) {
["_app":protected]=>
string(7) "network"
["_app_key":protected]=>
string(3) "app"
["_ctl":protected]=>
string(11) "site_branch"
["_ctl_key":protected]=>
string(3) "ctl"
["_act":protected]=>
string(5) "index"
["_act_key":protected]=>
string(3) "act"
["_params":protected]=>
array(1) {
[0]=>
string(4) "1701"
}
["_ext_param_source":protected]=>
array(2) {
[0]=>
string(3) "GET"
[1]=>
string(4) "POST"
}
["_request_uri":protected]=>
string(3) "/ay"
["_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(8) "no-store"
["replace"]=>
bool(false)
}
}
["_raw_headers":protected]=>
array(0) {
}
["_http_response_code":protected]=>
int(200)
["_is_redirect":protected]=>
bool(false)
["_bodys":protected]=>
array(0) {
}
}
["shopname"]=>
string(12) "图威安防"
["header"]=>
string(59) ""
["title"]=>
string(19) "网点_图威安防"
["keywords"]=>
string(19) "网点_图威安防"
["description"]=>
string(19) "网点_图威安防"
}
[1]=>
string(5) "index"
}
,...array(1) {
[0]=>
string(4) "1701"
}
) | router.php:625 |
| #10 | site_router->default_dispatch() | router.php:515 |
| #11 | site_router->dispatch('ay') | kernel.php:184 |
| #12 | kernel::boot() | index.php:5 |