Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

how do I move phpmyadmin away from the root url?

for example instead of typing: mysite.com/phpmyadmin

i want it to be more secure by making it a few directories down ?

or is there another way of hiding phpmyadmin?

thanks

share|improve this question
3  
Shouldn't you put authentication in place instead of hiding it? You know, the whole security-by-obscurity-is-no-security thing? –  cjc May 11 '12 at 19:23
    
i alreayd have authentication just want it to be harder to access –  arrowill12 May 11 '12 at 19:26
    
Don't install it on a public server, it has no place there. –  Sven May 11 '12 at 19:26
    
found the answer here so thanks for that downvote...hope this helps others thetechrepo.com/main-articles/488 –  arrowill12 May 11 '12 at 19:37
1  
Please don't use phpMyAdmin on a production system. That's really an easy way to get your system owned. –  MDMarra May 11 '12 at 20:21

1 Answer 1

up vote 4 down vote accepted

I'd highly recommend you lock PHPMyAdmin down to one IP address, while blocking everything else. This way, you -do not- need to worry about security. If your computer gets hacked, they might have access, so I'd recommend still having a good secure password to login. :)

If you want the perfect security system of all, don't use PHPMyAdmin and use MySQL through an app like Sequel Pro (on the Mac) and go through a SSH tunnel with a certificate. That would be very hard to get through... and personally, this is what I do. :)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.