Change Default URL of phpMyAdmin

5 Apr No Comments
URL for phpMyAdmin
phpMyAdmin is a good tool for administration of MySQL databases, but the URL is not secure by default

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

    1. 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
    2. 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
    3. Restart your web-server
      sudo /etc/init.d/apache2 restart
    4. Now you may try this new URL of http://your-web-site/@34%6tFd&hs , and managing your MySQL

 

Latest Comments

Leave a Reply

相關訊息