phpMyadmin自動登入設定方法

來源:互聯網
上載者:User

標籤:

配置提示:幾乎所有的配置參數都在 config.inc.php 檔案中。

如果這個檔案不存在,您可以在 libraries 目錄中找到 config.default.php,

將它複製到根目錄,並改名為 config.inc.php。

用記事本等編輯工具開啟 config.inc.php 檔案,尋找下面幾個部分並修改

$cfg[‘Servers‘][$i][‘auth_type‘] = ‘config‘;  //可選"config, http, signon or cookie",在這裡需填寫config

$cfg[‘Servers‘][$i][‘host‘] = ‘localhost‘;  //預設即可

$cfg[‘Servers‘][$i][‘port‘] = ‘‘;      //連接埠號碼,可不填

$cfg[‘Servers‘][$i][‘user‘] = ‘‘;      //使用者名稱,如:root

$cfg[‘Servers‘][$i][‘password‘] = ‘‘;    //密碼,如123456,不填則表示為空白

$cfg[‘Servers‘][$i][‘AllowNoPassword‘] = true;  //允許空密碼登入

最後儲存 config.inc.php ,瀏覽器重新整理或者重新訪問 phpmyadmin 就可以了。

phpMyadmin自動登入設定方法

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.