Change Default URL of phpMyAdmin
Lots of webmasters use MySQL as the major database system, and phpMyAdmin can be the best option for managing their database. However, it’s default URL is very simple but unsecured as http://yourwebaddress/phpmyadmin.
How to change the URL more secured? please trying below
- Find apache.conf file of phpMyAdmin, regularly, it’s under /etc/phpmyadmin/ on Linux environment. Please edit this file with root authority:
# phpMyAdmin default Apache configuration Alias /phpmyadmin /usr/share/phpmyadmin
- Change this –“Alias /phpadmin /usr/share/phpmyadmin” like this one ”
Alias /secretcode /usr/share/phpmyadmin, secretcode stands for a series of letters as a symbol, but hard to recognize, for instance ‘@34%6tFd&hs’. So:# phpMyAdmin default Apache configuration Alias /@34%6tFd&hs /usr/share/phpmyadmin
- Restart your web-server
sudo /etc/init.d/apache2 restart
- Now you may try this new URL of http://your-web-site/@34%6tFd&hs , and managing your MySQL
Latest Comments