找回密碼
 註冊
搜索
查看: 2440|回復: 3

[CentOS] phpMyAdmin 2.7.0(含)以上版本 中文顯示亂碼問題解決 + 基本設定

[複製鏈接]
發表於 2008-5-30 17:45:23 | 顯示全部樓層 |閱讀模式
 
Push to Facebook
設定檔名區別:
config.ini.php v 2.6.0 之前的名稱
config.default.php v 2.6.0(含) 之後的名稱

應更改事項:
$cfg['PmaAbsoluteUri'] = ''; -> $cfg['PmaAbsoluteUri'] = ' http://xxx.xxx.xxx.xxx/PHPMyAdmin/'; phpmyadmin 位置
$cfg['Servers'][$i]['auth_type'] = 'config'; -> $cfg['Servers'][$i]['auth_type'] = ' http'; http 認証
oth:
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address 把localhost改成你的MySQL主機位置, 也就是 DB Hostname
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';   // MySQL user 把root改成你的MySQL資料庫的使用者名稱, 也就是 DB Username
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed 在''中間填入你的MySQL資料庫的密碼, 也就是 DB Password

問題:
MySQL資料庫的內容顯示亂碼問題
解決方式:
select_lang.lib.php 這個檔案內容
'big5' => 'big5', 更改 'big5' => 'latin1',
'utf-8' => 'utf-8', 更改 'utf-8' => ' latin1',
 
發表於 2012-5-14 00:55:59 | 顯示全部樓層
(*^__^*) 嘻嘻……   
版主招募中
發表於 2012-5-14 01:00:54 | 顯示全部樓層
不錯啊! 一個字牛啊!  
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

Archiver|手機版|小黑屋|TShopping

GMT+8, 2025-5-10 13:42 , Processed in 0.021434 second(s), 18 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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