公式サイトからダウンロードして設置。
# cd /opt/httpdocs/
# yum install unzip
# unzip phpMyAdmin-4.2.0-english.zip
# mv phpMyAdmin-4.2.0-english phpmyadmincd
# chown -R オーナ:グループ phpMyAdmin
$cfg['blowfish_secret'] = 'midas'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
$cfg['Servers'][$i]['extension'] = 'mysqli’;
PMA Database ... NG [ ドキュメント ]
mysql に root でログイン
MariaDB [(none)]> source /(略)/phpmyadmin/examples/create_tables.sql
MariaDB [(none)]> use phpmyadmin;
MariaDB [phpmyadmin]> show tables;
MariaDB [phpmyadmin]> GRANT ALL ON phpmyadmin.* TO pma@localhost IDENTIFIED BY "パスワード";
config.inc.php の以下コメントアウトをはずし
/* User used to manipulate with storage */
$cfg['Servers'][$i]['controlhost'] = '';
$cfg['Servers'][$i]['controlport'] = '';
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = 'pma';
/* 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';
$cfg['Servers'][$i]['users'] = 'pma__users';
$cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
$cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
/* Contrib / Swekey authentication */
$cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
yumアップデート等で動かなければ
chmod 777 /var/lib/php/session