致命错误: Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /data/www/XBShow/thinkphp/library/think/db/Connection.php:528 Stack trace: #0 /data/www/XBShow/thinkphp/library/think/db/Connection.php(528): PDO->__construct('mysql:host=127....', 'xb', 'p5bj5AYPSHMBsE8...', Array) #1 /data/www/XBShow/thinkphp/library/think/db/Connection.php(2024): think\db\Connection->connect() #2 /data/www/XBShow/thinkphp/library/think/db/Connection.php(644): think\db\Connection->initConnect(false) #3 /data/www/XBShow/thinkphp/library/think/db/connector/Mysql.php(90): think\db\Connection->query('SHOW COLUMNS FR...', Array, false, true) #4 /data/www/XBShow/thinkphp/library/think/db/Connection.php(377): think\db\connector\Mysql->getFields('`xb_a_customer_...') #5 /data/www/XBShow/thinkphp/library/think/db/Connection.php(454): think\db\Connection->getTableInfo('xb_a_customer_l...', 'bind') #6 /data/www/XBShow/thinkphp/library/think/db/Builder.php(292): think\db\Connection->getFieldsBind('xb_a_customer_l...') #7 /data/www/XBSh in /data/www/XBShow/thinkphp/library/think/db/Connection.php上线 528
Baidu
map