I use phpmyadmin, and when entering this adress:
www.mydomain.com/phpmyadmin
a login page appears.
Is there any way of disabling it, so it doesn't appear/exist?
Thanks
I use phpmyadmin, and when entering this adress:
www.mydomain.com/phpmyadmin
a login page appears.
Is there any way of disabling it, so it doesn't appear/exist?
Thanks
If you disable it then anyone trying that URL will have immediate access to you mysql database and could do anything, including deleting them. The password is here for a reason !
But, there might be a valid reason to do that, maybe you are protecting the directory with an other security ?
yep - you can set your pasword in the config file - BUT if you are using this on your domain then I'd STRONGLY recommend you take it off your site altogether!!!!
Use a cleint to access your database - like mysql workbench or mysql yog or any of the numerous ones out there...
if you MUST use phpmyadmin then why not install it on your local machine and add the details to the config there - MUCH safer
One thing you may want to do is just use a .htaccess file to redirect that URL somewhere to basically restrict the ability to get to that URL.
To do this, just create a .htaccess file at the root directory of your domain and put this in it:
Redirect 301 /phpmyadmin http://www.mydomain.com/
Then whenever you need to access phpmyadmin, you would just have to comment out that line temporarily while you do your work.