幫助中心
這里有最新的使用文檔和教程
Warning: mysql_connect(): mysqlnd cannot connect to MySQL 4.1+ using the old ...
有些程序在安裝時,出現如下錯誤:
Warning: mysql_connect(): 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 in K:\WEB_2013\www.aerchi.com\***\***.php
這個問題主要就是因為數據庫的登陸密碼編碼問題,將密碼設置成41位,即可。
進入phpmyadmin,點擊SQL。輸入以下兩條命令,然后執行即可。
- SET SESSION old_passwords = FALSE;
- SET PASSWORD = PASSWORD('your password');
your password 替換為你自己的密碼。