SQLSTATE[HY000] [2003] Can't connect to MySQL server on '10.49.150.247' (111)

发布时间:2025-05-12 20:59

错误位置

FILE: /var/www/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 109

TRACE

#0 /var/www/ThinkPHP/Library/Think/Db/Driver.class.php(109): E('SQLSTATE[HY000]...')
#1 /var/www/ThinkPHP/Library/Think/Db/Driver.class.php(1075): Think\Db\Driver->connect()
#2 /var/www/ThinkPHP/Library/Think/Db/Driver/Mysql.class.php(47): Think\Db\Driver->initConnect(true)
#3 /var/www/ThinkPHP/Library/Think/Model.class.php(134): Think\Db\Driver\Mysql->getFields('article')
#4 /var/www/ThinkPHP/Library/Think/Model.class.php(122): Think\Model->flush()
#5 /var/www/ThinkPHP/Library/Think/Model.class.php(1454): Think\Model->_checkTableInfo()
#6 /var/www/ThinkPHP/Library/Think/Model.class.php(97): Think\Model->db(0, '', true)
#7 /var/www/ThinkPHP/Common/functions.php(621): Think\Model->__construct('Article', '', '')
#8 /var/www/App/Home/Controller/IndexController.class.php(7): M('Article')
#9 [internal function]: Home\Controller\IndexController->index()
#10 /var/www/ThinkPHP/Library/Think/App.class.php(173): ReflectionMethod->invoke(Object(Home\Controller\IndexController))
#11 /var/www/ThinkPHP/Library/Think/App.class.php(110): Think\App::invokeAction(Object(Home\Controller\IndexController), 'index')
#12 /var/www/ThinkPHP/Library/Think/App.class.php(204): Think\App::exec()
#13 /var/www/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#14 /var/www/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#15 /var/www/main/index.php(25): require('/var/www/ThinkP...')
#16 {main}

网址:SQLSTATE[HY000] [2003] Can't connect to MySQL server on '10.49.150.247' (111) http://mxgxt.com/news/view/1151289

相关内容

SQLSTATE[HY000] [2003] Can't connect to MySQL server on '10.49.150.247' (111)
SQLSTATE[HY000] [2003] Can't connect to MySQL server on '10.49.150.247' (111)
系统异常提示
明星动态文章精选
追星文化文章精选
centos7 mysql数据库安装和配置
www.clickqu.com
[Err] 1064
SQLSTATE[HY000] [1040] Too many connections
SQLSTATE[HY000] [2002] Cannot assign requested address

随便看看