Categories
Linux

Change Default Access URL of phpMyAdmin

It is always a good idea to change the default  http://yourhost.com/phpmyadmin to something like http://yourhost.com/yourdb to hide it from easy access to others.

Just edit apache.conf:

sudo nano /etc/phpmyadmin/apache.conf

Change:
Alias /phpmyadmin /usr/share/phpmyadmin

To:
Alias /yourdb /usr/share/phpmyadmin