We want to auto login users in phpMyAdmin. Now we have a web-interface, written in PHP. Users can login. After logging in, they can click on the SQL link in the
Sometimes when working at your local environment it annoys to login each time. To avoid it you can do the following:
Add following lines at bottom of file:
phpmyadmin\config.inc.php
$cfg['LoginCookieValidity'] = 10000; // Keep long validity :)-
$cfg['Servers'][$i]['user'] = 'root'; // Your user name
$cfg['Servers'][$i]['password'] = 'root'; // Your password
$cfg['Servers'][$i]['auth_type'] = 'config';
After that shutdown your db server & restart again. Now check & you will see that you will login without entering user name & password.