joe64
15 years ago
今天發現PHP5.3連到資料庫會有問題,會出現 『mysqlnd cannot connect to MySQL 4.1+ using old authentication』,記得去mysql的資料庫下更新使用者密碼的指令,然後最重要的,也是很多網路文章沒說的...
joe64
15 years ago
記得去my.ini或是my.cnf 把old-password=1 消掉,old password 的位元才會從16到41位元!!
我現在新的資料庫都直接用新的密碼加密了..XD
joe64
15 years ago
darkhero: 那你就不會遇到如上問題了 ^^
立即下載