./scripts/create_tables.sql を実行
# mysql -uroot -p インポート mysql> source /var/www/phpMyAdmin/examples/create_tables.sql インポートの確認 mysql> show databases; mysql> use phpmyadmin; mysql> show tables;
GRANT ALL ON phpmyadmin.* TO pma@localhost IDENTIFIED BY “pmapass”;
設定ファイル (config.inc.php) で高度な機能を有効にします。
※接続先の定義が複数ある場合は、それぞれに記述が必要。
$cfg['Servers'][$i]['controlhost'] = ”; $cfg['Servers'][$i]['controluser'] = ‘pma’; $cfg['Servers'][$i]['controlpass'] = ‘pmapass’; $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]['table_uiprefs'] = ‘pma_table_uiprefs’; $cfg['Servers'][$i]['auth_swekey_config'] = ‘/etc/swekey-pma.conf’;