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 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 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. 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. 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. Link to comment https://forums.phpfreaks.com/topic/19274-phpmyadmin-login/#findComment-83596 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.