致命错误: 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.... .php . '', '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_l…')#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/数据/ www / XBShow / thinkphp /图书馆/认为/ db / Connection.php在网上528
Baidu
map