phpmyadmin配置,Phpmyadmin配置不生效

本文目錄一覽:

phpmyadmin的安裝與使用圖文教程第1/2頁

PhpMyAdmin簡介

PhpMyAdmin是一個用PHP編寫的,可以通過互聯網控制和操作MySQL。通過phpMyAdmin可以完全對資料庫進行操作,例如建立、複製/刪除數據等等。

安裝篇

第一步:下載phpmyadmin

到天空軟體站下載phpmyadmin,地址:,搜索phpmyadmin即可出現最新更新的phpmyadmin版本,建議使用多國語言版,這樣才出現簡體中文字元。

第二步:本地配置phpmyadmin

把下載回來的phpmyadmin解壓出來,並將解壓出來的此文件夾改名為phpmyadmin,然後定位到此文件夾的/phpmyadmin/libraries下的config.default.php,把它複製到/phpmyadmin並重命名為config.inc.php

用記事本打開config.inc.php,編輯–查找…

查找$cfg[‘PmaAbsoluteUri’] = ”;

將其改成

$cfg[‘PmaAbsoluteUri’] = ”;

[也就是您的網站服務的IP或域名加上你的phpmyadmin的文件夾名]

查找$cfg[‘Servers’][$i][‘auth_type’] = ‘config’;

把config改成 http,即

$cfg[‘Servers’][$i][‘auth_type’] = ‘http’;

[改成http後,就可以像登錄路由器那樣,出現一個登錄對話框]

保存退出。

第三步:上傳phpmyadmin

本地配置完畢後,就二進位上傳到你的伺服器或虛擬伺服器上的web文件夾httproot,有些伺服器的根文件夾叫htdocs。

用瀏覽器輸入地址,例如:,就會跳出一個輸入用戶名和密碼的對話框,如下圖所示:

然後我們就把伺服器提供商提供給我們具有讀寫許可權的帳號和密碼填入進去,即可進入你的phpmyadmin頁面了。如果出現的界面不是中文,安裝了多國語言版的版本,可以在右邊如圖的這個位置選擇簡體中文

到此為止,整個phpmyadmin的安裝結束。

小技巧

聰明的你是否發覺上面有什麽不對了呢?如果每個人都照我這樣做那麽..是不是每個人的phpMyAdmin的位置都在http://網址/phpMyAdmin這裡?這種情況是可以改變的..只要將phpMyAmin資料夾更名即可。若我想要更名為pma(各取一個字,方便記憶),路徑:/usr/local/apache/htdocs/pma,如此別人就無法去解的phpMyAdmin的位置…只剩下你自己知道了…

當前1/2頁 12下一頁

如何在Windows下安裝和配置PHPmyadmin

如何在Windows下安裝和配置PHPmyadmin?

1.安裝phpMyAdmin圖形化管理工具

將下載的”phpMyAdmin-2.11.5-all-languages.rar”文件解壓縮到Apache主目錄下,解壓後的名稱是”phpMyAdmin-2.11.5-all-languages”,其中2.11.5是phpMyAdmin的版本號,為了便於使用可以將解壓縮後的文件夾重新命名為phpMyAdmin。

2.配置phpMyAdmin圖形化管理工具

將phpMyAdmin安裝目錄下的libraries目錄下的config.default.php複製到phpmyAdmin根目錄下,並改名為config.inc.php。然後用Dreamweaver開發工具打開config.inc.php文件,將游標定位到指定的標識行位置。

phpmyadmin4.6怎麼安裝配置

hpMyAdmin功能:

phpMyAdmin可以管理整個MySQL伺服器(需要超級用戶),也可以管理單個資料庫。為了實現後一種,你將需要合理設置MySQL用戶,他只能對允許的資料庫進行讀/寫。那要等到你看過MySQL手冊中相關的部分。

phpMyAdmin安裝教程

1.下載多國語言包

解壓好後更名為 phpmyadmin 注意全是小寫的,把它放在 \文件夾\htdocs下

2.將config.sample.inc.php 更名為 config.inc.php

3,配製 config.inc.php

修改 $cfg[‘Servers’][$i][‘controluser’] 把前面的 //去掉,在後面寫上資料庫名字 如 ‘root’

$cfg[‘Servers’][$i][‘controlpass’] 把前面的// 去掉,在後面寫上資料庫密碼,如’123′

修改$cfg[‘blowfish_secret’] = ” 在後面” 裡面隨便填上幾個數字 ‘456’

4. 配製伺服器的php.ini

將php下的 libmcrypt.dll 複製到 C:\WINDOWS\system32

修改php.ini

將 ;extension=php_mcrypt.dll前的;去掉

5,重啟apache即可

安裝過程

PhpMyAdmin安裝包下載安裝

解壓

將下載文件解壓縮到 WEB 訪問路徑下。文件目錄如phpmyadmin。

配置文件

然後配置目錄下libraries文件下的 config.default.php 文件。

$cfg[‘PmaAbsoluteUri’] = 『』;

$cfg[‘blowfish_secret’] = 』123456′;

$cfg[‘DefaultLang’] = 『zh-gb2312′;

$cfg[‘DefaultCharset’] = 『gb2312′;

$cfg[‘Servers’][$i][‘auth_type’] = 『cookie』;

保存之後,在瀏覽器里輸入:

更新日誌

phpMyAdmin V4.5.1

– issue Invalid argument supplied for foreach()

– issue array_key_exists() expects parameter 2 to be array

– issue #11480 Notice Undefined index: drop_database

– issue #11486 Server variable edition in ANSI_QUOTES sql_mode: losing current value

– issue #11491 Propose table structure broken

– issue #11464 phpMyAdmin suggests upgrading to newer version not usable on that system

– issue #11495 ‘PMA_Microhistory’ is undefined

– issue #11496 Incorrect definition for getTablesWhenOpen()

– issue #11500 Error when creating new user on MariaDB 10.0.21

– issue #11505 Notice on htmlspecialchars()

– issue Notice in Structure page of views

– issue #11510 AUTO_INCREMENT always exported when IF NOT EXISTS is on

– issue #11516 Some partitions are missing in copied table

– issue #11521 Notice of undefined variable when performing SHOW CREATE

– issue #11509 Error exporting sql query results with table alias

– issue #11512 SQL editing window does not recognise ‘OUTER’ keyword in ‘LEFT OUTER JOIN’

– issue #11518 “NOT IN” clause not recognized (MySQL 5.6 and 5.7)

– issue #11524 Yellow star does not change in database Structure after add/remove from favorites

– issue #11531 Invalid SQL in table definition when exporting table

– issue #11526 Foreign key to other database’s tables fails

– issue #11519 Bug while exporting results when a joined table field name is in SELECT query

– issue #11522 Strange behavior on table rename

– issue #11539 Rename table does not result in refresh in left panel

– issue #11541 Missing arguments for PMA_Table::generateAlter()

– issue #11544 Notices about undefined indexes on structure pages of information_schema tables

– issue Change minimum PHP version for Composer

– issue #11542 Import parser and backslash

– issue #11546 “Visualize GIS data” seems to be broken

– issue #11548 Confirm box on “Reset slave” option

– issue Fix cookies clearing on version change

– issue #11558 Cannot execute SQL with subquery

– issue #11520 Incorrect syntax creating a user using mysql_native_password with MariaDB

– issue #11561 Cannot use third party auth plugins

phpMyAdmin 4.3.11 更新日誌

# SQL鏈接錯誤4774是完全錯誤的

錯誤4768:# MariaDB版本不匹配

錯誤4777缺少#一些圖像設計師原創主題

錯誤4767:在細雨# mysql_charsets.inc.php未定義的索引

錯誤4753正常場#和多線領域有不同的利潤率

錯誤4760不能重新導入設置#從本地存儲

錯誤4778 SQL資料庫列表時出錯#通過附加的列進行排序

錯誤4780注意#時間戳列沒有默認值

phpMyAdmin V4.4.6.1 Final

[安全] CSRF漏洞安裝

[安全]漏洞允許中間人攻擊

phpMyAdmin V4.5.5 更新內容:

Fixes include improvements to changing passwords on newer MariaDB servers and several fixes to the SQL parser which will resolve some errors users encountered entering commands in the SQL tab.

原創文章,作者:小藍,如若轉載,請註明出處:https://www.506064.com/zh-tw/n/154368.html

(0)
打賞 微信掃一掃 微信掃一掃 支付寶掃一掃 支付寶掃一掃
小藍的頭像小藍
上一篇 2024-11-16 14:12
下一篇 2024-11-16 14:12

相關推薦

發表回復

登錄後才能評論