PhpMyAdmin

From Amahi Wiki
Jump to: navigation, search


TIPS

Themes

  • To set the default theme to something other than original, open a terminal window. Become root and do the following:
bash code
​cd /var/hda/web-apps/phpmyadmin/html vi config.inc.php​
  • Add this line to the end and change the name to the theme of your choice (i.e. paradice, Artic Ocean, Darkblue/orange)
Text
​$cfg['ThemeDefault'] = 'paradice';​
  • Save the file and clear the web browser cache.
  • Access phpMyAdmin and you will see the new theme applied as default to the login screen.


NOTE: Additional themes can be downloaded here.

Upload/Download Directory

You can configure phpMyAdmin to use an Amahi Share for a SQL upload/download location.

  • Create the share. See [] for guidance.
  • To set the share, open a terminal window. Become root and do the following:
bash code
​cd /var/hda/web-apps/phpmyadmin/html vi config.inc.php​
  • Change these 2 lines to reflect the path of the share you created:"
Text
​$cfg['UploadDir'] = '/var/hda/files/sharename'; $cfg['SaveDir'] = '/var/hda/files/sharename';​
  • Save the file.