[教學] MySQL4.1.x & phpMyAdmin- 2.11.9.5

phpBB-TW Knowledge Base
收集網友們在竹貓所發表的教學主題或文章,以利分享!
(僅供瀏覽,由版主群維護)
回覆文章
頭像
rex
版面管理員
版面管理員
文章: 501
註冊時間: 2001-11-01 15:28
來自: 竹貓星球
聯繫:

[教學] MySQL4.1.x & phpMyAdmin- 2.11.9.5

文章 rex »

Linux Fedora-core4 的MySQL 版本可升級為4.1.11

但是! 安裝phpMyAdmin 後 卻出現只能選擇 UTF-8 編碼,導致無法利用 phpMyAdmin 查看 Big5 中文編碼(不用 Big5 觀看~會產生亂碼 )

小弟的修改方法為:
◎ 修改 /libraries/database_interface.lib.php

找到

代碼: 選擇全部

if (PMA_MYSQL_INT_VERSION >= 40100) {

       // If $lang is defined and we are on MySQL >= 4.1.x,
修改為

代碼: 選擇全部

if (PMA_MYSQL_INT_VERSION >= 40100) {

/**        // If $lang is defined and we are on MySQL >= 4.1.x,
找到

代碼: 選擇全部

}

        // Add some field types to the list, this needs to be done once per session!
修改為

代碼: 選擇全部

}**/

        // Add some field types to the list, this needs to be done once per session!
就是把
if (PMA_MYSQL_INT_VERSION >= 40100) {
..
.
. ( 這中間的都註解起來 )
.
.
// Add some field types to the list, this needs to be done once per session!

這樣一來就可以 選擇 Big5 來觀看 Big5 編碼的資料庫了 :mrgreen:
全面支援 phpBB3.3.x 版本虛擬空間

台灣[不限流量]虛擬主機
*可自由調整php 版本。
*免費 SSL 簽章。
https://kukan.tw/
回覆文章

回到「教學文件庫」