Chen Log

陳洛格

config.inc.php 設定修改

leave a comment »

先拷貝一份 config.sample.inc.php
ubuntu@ip-10-129-25-24:/usr/share/phpmyadmin$ sudo cp config.sample.inc.php config.inc.php

再改變一下權限

sudo chmod 777  config.sample.inc.php

修改
$cfg[‘Servers’][$i][‘auth_type’] = ‘http’;
現在應該可以在http://xxx.xxx.xxx.xxx/phpMyAdmin中看到phpMyAdmin的畫面了(當然要先輸入帳密)

然後在 config.inc.php 設定裡面,填入之前設定的MySQL資料(使用者名稱與密碼)。

/* User used to manipulate with storage */
// $cfg[‘Servers’][$i][‘controlhost’] = ”;
$cfg[‘Servers’][$i][‘controluser’] = ‘root’;
$cfg[‘Servers’][$i][‘controlpass’] = ‘XXXXX’;

 

config.sample.inc.php
Advertisements

Written by chenagw

2013/05/22 at 23:59

Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: