找回密碼
 註冊
搜索
查看: 6492|回復: 1

MySQL 4.0.x and MySQL 4.1.x 認證方式的不同

[複製鏈接]
發表於 2005-5-9 18:06:44 | 顯示全部樓層 |閱讀模式
It's incompatibility of authorization MySQL 4.0.x and MySQL 4.1.x
Utilizing files authorization

for MySQL v4.0.x [The php MySQL extension access 'mysql']
libmysql.dll
php_mysql.dll

for MySQL v4.1.x [The php MySQL extension access 'mysqli']
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'''
 樓主| 發表於 2006-3-3 16:18:33 | 顯示全部樓層

MySQL 4.1.x or MySQL 5.0 使用舊的密碼編碼

SET PASSWORD FOR root@localhost = OLD_PASSWORD('password');
回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

Archiver|手機版|彩色筆小沛的知識庫

GMT+8, 2024-12-22 15:35 , Processed in 0.018993 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回復 返回頂部 返回列表