phpmyadmin is not requesting for username and password because it's on default. so how can I change it so that I can create my own username and password, can someone pls help me , I am new to programming. tnks.
To have phpMyAdmin prompt you for a username and password when starting, you can edit the configuration file . Note that this behavior is already the default, so either you've manually changed it to not prompt you or you're using some pre-packaged kit that made the changes for you, in which case you should consult the documentation for that package.
Edit config.inc.php
, which is in the phpMyAdmin root directory, find the line like $cfg['Servers'][$i]['auth_type'] = 'config';
and change it to $cfg['Servers'][$i]['auth_type'] = 'cookie';
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.