jeeva Posted June 1, 2007 Share Posted June 1, 2007 hi frnds, i want to set the password for phpmyadmin, i dont know how to set this?. whenever access the phpmyadmin page through browser, it should ask me to login. help me plz......... Quote Link to comment https://forums.phpfreaks.com/topic/53821-set-password-for-phpmyadmin/ Share on other sites More sharing options...
saf Posted June 1, 2007 Share Posted June 1, 2007 For HTTP authentication (windows security window will come up and ask you for your mysql userid and password) make sure the following three lines look like this: $cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)? $cfg['Servers'][$i]['user'] = ''; // MySQL user $cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed For cookie authentication (a phpmyadmin login page comes up for you to enter your username and password), You first need to create a PassPhrase (this can be anything): $cfg['blowfish_secret'] = 'MyPhrase'; //Change MyPhrase to your PassPhrase and then make sure these three lines look as follows: $cfg['Servers'][$i]['auth_type'] = 'cookie'; // Authentication method (config, http or cookie based)? $cfg['Servers'][$i]['user'] = ''; // MySQL user $cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed Quote Link to comment https://forums.phpfreaks.com/topic/53821-set-password-for-phpmyadmin/#findComment-266060 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.