phpmyadmin – 解決 「phpMyAdmin 高級功能未全部設定,部分功能不可用。要查出原因請點這裡。」
當出現這段文字的時候
phpMyAdmin 高級功能未全部設定,部分功能不可用。要查出原因請<a href="http://localhost/phpmyadmin/chk_rel.php?token=0400bd52b474af55594d30c1fb41fc28">點這裡</a>。 就點進去 會看到裡面出現這類文字
$cfg[‘Servers’][$i][‘pmadb’] … | 錯誤 [ 文件 ] |
---|---|
$cfg[‘Servers’][$i][‘relation’] … | 錯誤 [ 文件 ] |
一般關聯功能: 已關閉 |
拉到下方參考他的使用方法就可以解決了!
快速設定進階功能:
- 透過
examples/create_tables.sql
建立必需的資料表 - 建立一個使用者並授予其訪問上一步操作中建立的資料表的權限
- 在設定檔案 (
config.inc.php
) 中啓用進階功能,參見config.sample.inc.php
中的範例 - 請重新登錄 phpMyAdmin 以載入新設定並使其生效
1.把examples/create_tables.sql匯入你的mysql
2.在phpmysql資料夾底下,有個config.inc.php檔,如果是套裝軟體都會有,但若是執接下載phpmyadmin的話可能會沒有,
沒關係,請複製config.sample.inc.php一份並更改檔名為config.inc.php
3.接著修改config.inc.php,把註解掉的陣列全都取消註解
/* User used to manipulate with storage */ $cfg['Servers'][$i]['controlhost'] = ''; $cfg['Servers'][$i]['controluser'] = ''; $cfg['Servers'][$i]['controlpass'] = ''; /* Storage database and tables */ $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin'; $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark'; $cfg['Servers'][$i]['relation'] = 'pma_relation'; $cfg['Servers'][$i]['table_info'] = 'pma_table_info'; $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords'; $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages'; $cfg['Servers'][$i]['column_info'] = 'pma_column_info'; $cfg['Servers'][$i]['history'] = 'pma_history'; $cfg['Servers'][$i]['table_uiprefs'] = 'pma_table_uiprefs'; $cfg['Servers'][$i]['tracking'] = 'pma_tracking'; $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords'; $cfg['Servers'][$i]['userconfig'] = 'pma_userconfig'; $cfg['Servers'][$i]['recent'] = 'pma_recent'; /* Contrib / Swekey authentication */ $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
4. 修改上面的這三行
$cfg['Servers'][$i]['controlhost'] = 'localhost'; //像我本機的就寫localhost $cfg['Servers'][$i]['controluser'] = 'root';//像我本機的預設帳號root $cfg['Servers'][$i]['controlpass'] = '1234';//我自己預設的是1234
5.像我填寫好了以後,重新整理phpmyadmin網頁會沒反應,因為我沒照她說的做…
請重新登出在登入phpmyadmin吧!這樣警告就取消了!而且會發現多了一些新功能囉
ann71727
2015-05-26 - 19:44
感謝
jsn
2015-05-29 - 10:00
不客氣喔^^