cannot log-out from phpmyadmin in XAMPP

2020-02-20 05:14发布

问题:

I have completely set up my xampp with username and password. Once I have logged in, I cannot seem to find a way to log-out. No button for log-out can be seen near the home button at the left sidebar. Please help. This is getting in my way to create a web application. Thanks.

回答1:

just change this line on config.inc.php

$cfg['Servers'][$i]['auth_type'] = 'config';

to

$cfg['Servers'][$i]['auth_type'] = 'cookie';

then you will be prompted to login when you refreshed the page. Afterwards, the log out icon will appear next to home icon.