[Phpmyadmin-devel] Error when opening phpmyadmin db

Marc Delisle marc at infomarc.info
Fri Jul 29 13:34:39 CEST 2011


Tyron Madlener a écrit :
> Whenever I try to browse the phpmyadmin db i get the following error:

Tyron,
what do you mean "browse the phpmyadmin db"? Go on its structure page? 
Browse a table in it?

I have no problem doing this, on master (my server or demo) or my copy 
of your tree.

> 
> SELECT tracking_active FROM.WHERE `db_name` =  'phpmyadmin'
> AND  `table_name` =  'pma_bookmark'
> ORDER BY version DESC
> 
> MySQL said:
> 
> #1064 - You have an error in your SQL syntax; check the manual that
> corresponds to your MySQL server version for the right syntax to use
> near 'WHERE `db_name` = 'phpmyadmin'  AND `table_name` =
> 'pma_bookmark'  ORDER BY vers' at line 1
> 
> ---
> Now I looked into the code and saw the culprit is Tracker.class.php in
> function init() where self::$pma_table is set. At that point
> $GLOBALS['cfg']['Server']['pmadb'] and ['tracking'] is just empty.
> Anyone know why?



-- 
Marc Delisle
http://infomarc.info




More information about the Developers mailing list