MySQL 4.0.x and MySQL 4.1.x 認證方式的不同
It's incompatibility of authorization MySQL 4.0.x and MySQL 4.1.xUtilizing files authorization
for MySQL v4.0.x
libmysql.dll
php_mysql.dll
for MySQL v4.1.x
libmysqli.dll
php_mysqli.dll
使用MySQL 4.1.x解決方法:
'''phpMyAdmin'''
open config.inc.php (C:\appserv\www\phpMyAdmin)
On line 73
change
->from: 'mysql';
->to: 'mysqli';
'''PHP'''
open php.ini (C:\windows or C:\winnt)
On line 580
change
->from: extension=php_mysql.dll
->to: extension=php_mysqli.dll
'''restart Apache'''
MySQL 4.1.x or MySQL 5.0 使用舊的密碼編碼
SET PASSWORD FOR root@localhost = OLD_PASSWORD('password');
頁:
[1]