Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [1045] Access denied for user 'root'@'127.0.0.1' (using password: NO)' in /data/caigouyun/thinkphp/library/think/db/Connection.php:506 Stack trace: #0 /data/caigouyun/thinkphp/library/think/db/Connection.php(506): PDO->__construct('mysql:host=127....', 'root', '', Array) #1 /data/caigouyun/thinkphp/library/think/db/Connection.php(1957): think\db\Connection->connect() #2 /data/caigouyun/thinkphp/library/think/db/Connection.php(629): think\db\Connection->initConnect(false) #3 /data/caigouyun/thinkphp/library/think/db/connector/Mysql.php(90): think\db\Connection->query('SHOW COLUMNS FR...', Array, false, true) #4 /data/caigouyun/thinkphp/library/think/db/Connection.php(359): think\db\connector\Mysql->getFields('data_cats') #5 /data/caigouyun/thinkphp/library/think/db/Connection.php(436): think\db\Connection->getTableInfo('data_cats', 'bind') #6 /data/caigouyun/thinkphp/library/think/db/Builder.php(287): think\db\Connection->getFieldsBind('data_cats' in /data/caigouyun/thinkphp/library/think/db/Connection.php on line 506

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [1045] Access denied for user 'root'@'127.0.0.1' (using password: NO)' in /data/caigouyun/thinkphp/library/think/db/Connection.php:506 Stack trace: #0 /data/caigouyun/thinkphp/library/think/db/Connection.php(506): PDO->__construct('mysql:host=127....', 'root', '', Array) #1 /data/caigouyun/thinkphp/library/think/db/Connection.php(1957): think\db\Connection->connect() #2 /data/caigouyun/thinkphp/library/think/db/Connection.php(629): think\db\Connection->initConnect(false) #3 /data/caigouyun/thinkphp/library/think/db/connector/Mysql.php(90): think\db\Connection->query('SHOW COLUMNS FR...', Array, false, true) #4 /data/caigouyun/thinkphp/library/think/db/Connection.php(359): think\db\connector\Mysql->getFields('data_cats') #5 /data/caigouyun/thinkphp/library/think/db/Connection.php(436): think\db\Connection->getTableInfo('data_cats', 'bind') #6 /data/caigouyun/thinkphp/library/think/db/Builder.php(287): think\db\Connection->getFieldsBind('data_cats' in /data/caigouyun/thinkphp/library/think/db/Connection.php on line 506