[Phpmyadmin-devel] Re: losing login credentials under MySQL 5.0.13

Marc Delisle Marc.Delisle at cegepsherbrooke.qc.ca
Mon Oct 17 15:22:00 CEST 2005


Marc Delisle a écrit :
> Michal Čihař a écrit :
> 
>> Hi
>>
>> On Mon 17. 10. 2005 20:03, Marc Delisle wrote:
>>
>>> in current HEAD, after a cookie-login with a super-user, I choose a
>>> db from the left frame and boom, I'm back to login panel.
>>
>>
>>
>> I hit yesterday something simmilar issue and forgot to report: I can't 
>> display transformation options, I get just login dialog instead of it. 
>> Using MySQL 5 and mysql extension.
>>
>>
>>> No bug under MySQL 4.1.x.
>>>
>>> Someone can confirm? This would motivate me to look for this nasty
>>> bug :)

Something wrong is happening in footer.inc.php. I have 3 servers defined 
and I login with server 2.

If I replace in footer.inc.php line 17 by

if (FALSE) {

the bug does not happen.

I was able to find that, when footer.inc.php does some kind of reload, 
common.lib.php is called, calls PMA_auth_check() from 
cookie.auth.lib.php, and there, $server does not contain a value of 2 as 
expected but contains 1.

Marc




More information about the Developers mailing list