[root@ns1 ~]# vi /home/hoge/public_html/phpMyAdmin/config.inc.php
$cfg['PmaAbsoluteUri'] = '';
↓
$cfg['PmaAbsoluteUri'] = 'http://www.centos.orz/phpMyAdmin/'; ←変更(アドレスを記入)
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
↓
$cfg['Servers'][$i]['password'] = 'hogehoge'; // MySQL password (only needed ←変更(MySQLのrootパスワードを記入)
$cfg['DefaultLang'] = 'en-iso-8859-1';
↓
$cfg['DefaultLang'] = 'ja-utf-8'; ←変更(デフォルト言語)
$cfg['DefaultCharset'] = 'iso-8859-1';
↓
$cfg['DefaultCharset'] = 'utf-8'; ←変更(デフォルト文字コード)
※黄色い部分は環境に合わせて変更してください。
[root@ns1 ~]# /usr/bin/htpasswd -c /home/hoge/public_html/phpMyAdmin/.htpasswd hoge
New password: hoge12345 ←パスワード入力
Re-type new password: hoge12345 ←パスワード再入力
Adding password for user hoge
[root@ns1 ~]# vi /home/hoge/public_html/phpMyAdmin/.htaccess
↓下記を記入
AuthType Basic
AuthName "Please Enter Your Password"
AuthUserFile /home/hoge/public_html/phpMyAdmin/.htpasswd
Require valid-user
※黄色い部分は環境に合わせて変更してください。