PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have updated my version of phpMyAdmin but I have bumped into a small problem. I am unable to password protect it. This means that anyone can view my tables.
This is my first time installing phpMyAdmin as it was automatically installed the last time. Can anyone please help me here, I have tried searching the web up and down with no luck.
Just edit config.inc.php and check the lines around:
$cfg['Servers'][$i]['auth_type'] where the auth method is specified. Eg:
$cfg['Servers'][$i]['auth_type'] = 'http';
$cfg['Servers'][$i]['user'] = 'root'; //or use a non root mysql user
$cfg['Servers'][$i]['password'] = '';
That will 'pop up' a login box where you'll need to enter the user/password.