错误: SQLSTATE[HY000] [2000] mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file 文件: /usr/home/hyu7435510001/htdocs/simplewind/thinkphp/library/think/db/Connection.php 行号: 295 堆栈: #0 /usr/home/hyu7435510001/htdocs/simplewind/thinkphp/library/think/db/Connection.php(295): PDO->__construct('mysql:host=hdm-...', 'hdm0040155', Object(SensitiveParameterValue), Array) #1 /usr/home/hyu7435510001/htdocs/simplewind/thinkphp/library/think/db/Connection.php(995): think\db\Connection->connect() #2 /usr/home/hyu7435510001/htdocs/simplewind/thinkphp/library/think/db/Connection.php(348): think\db\Connection->initConnect(false) #3 /usr/home/hyu7435510001/htdocs/simplewind/thinkphp/library/think/db/connector/Mysql.php(65): think\db\Connection->query('SHOW COLUMNS FR...', Array, false, true) #4 /usr/home/hyu7435510001/htdocs/simplewind/thinkphp/library/think/db/Query.php(1921): think\db\connector\Mysql->getFields('`cmf_hook_plugi...') #5 /usr/home/hyu7435510001/htdocs/simplewind/thinkphp/library/think/db/Query.php(1969): think\db\Query->getTableInfo('cmf_hook_plugin', 'type') #6 /usr/home/hyu7435510001/htdocs/simplewind/thinkphp/library/think/db/Query.php(1975): think\db\Query->getFieldsType('cmf_hook_plugin') #7 /usr/home/hyu7435510001/htdocs/simplewind/thinkphp/library/think/db/Builder.php(270): think\db\Query->getFieldsBind('cmf_hook_plugin') #8 /usr/home/hyu7435510001/htdocs/simplewind/thinkphp/library/think/db/Builder.php(240): think\db\Builder->buildWhere(Array, Array) #9 /usr/home/hyu7435510001/htdocs/simplewind/thinkphp/library/think/db/Builder.php(719): think\db\Builder->parseWhere(Array, Array) #10 /usr/home/hyu7435510001/htdocs/simplewind/thinkphp/library/think/db/Query.php(2511): think\db\Builder->select(Array) #11 /usr/home/hyu7435510001/htdocs/simplewind/cmf/behavior/InitHookBehavior.php(28): think\db\Query->select() #12 /usr/home/hyu7435510001/htdocs/simplewind/thinkphp/library/think/Hook.php(137): cmf\behavior\InitHookBehavior->run(NULL, NULL) #13 /usr/home/hyu7435510001/htdocs/simplewind/thinkphp/library/think/Hook.php(95): think\Hook::exec('cmf\\behavior\\In...', 'app_init', NULL, NULL) #14 /usr/home/hyu7435510001/htdocs/simplewind/thinkphp/library/think/App.php(223): think\Hook::listen('app_init') #15 /usr/home/hyu7435510001/htdocs/simplewind/thinkphp/library/think/App.php(82): think\App::initCommon() #16 /usr/home/hyu7435510001/htdocs/index.php(58): think\App::run() #17 {main}string(428) "SQLSTATE[HY000] [2000] mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file"