DaVuLf Posted August 31, 2006 Share Posted August 31, 2006 Hey there. I just installed phpMyAdmin on my server, but it isn't asking for login information. Clearly this is an issue since anyone can access my database online.How do I modify this? Thanks,DaVuLf Quote Link to comment https://forums.phpfreaks.com/topic/19274-phpmyadmin-login/ Share on other sites More sharing options...
onlyican Posted August 31, 2006 Share Posted August 31, 2006 do u have a log in for connecting to the databasefor example if its localhost, most isUsername: rootPassword: root Quote Link to comment https://forums.phpfreaks.com/topic/19274-phpmyadmin-login/#findComment-83586 Share on other sites More sharing options...
wildteen88 Posted August 31, 2006 Share Posted August 31, 2006 You;ll want look for the config.inc.php file in the root of the phpMyAdmin folder and look for the following:[code]$cfg['Servers'][$i]['auth_type'] = 'config';[/code]Change conf to http. Now goto access phpMyAdmin again. You should now get a promt requesting authentication.If you cannot find config.inc.php. Goto libaries and find config.defualt.php, copy that to the root of the phpmyadmin folder and rename that file to config.inc.php, now follow the instructions above. Quote Link to comment https://forums.phpfreaks.com/topic/19274-phpmyadmin-login/#findComment-83588 Share on other sites More sharing options...
DaVuLf Posted August 31, 2006 Author Share Posted August 31, 2006 Thanks. I tried this and now it is prompting for password. Unfortunately, it isn't recognizing the proper inputs as correct. See here:http://www.briancomeau.net/phpMyAdminbak/I want it to show up like that. The HTTP prompt is a javascript popup it looks like. Quote Link to comment https://forums.phpfreaks.com/topic/19274-phpmyadmin-login/#findComment-83594 Share on other sites More sharing options...
DaVuLf Posted August 31, 2006 Author Share Posted August 31, 2006 I got it to work. Authtype: Cookie. Quote Link to comment https://forums.phpfreaks.com/topic/19274-phpmyadmin-login/#findComment-83596 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.