[Phpmyadmin-devel] PMA_query_as_controluser

Marc Delisle marc at infomarc.info
Tue Jul 28 03:20:06 CEST 2009


Zeeshan M. a écrit :
> I see PMA_query_as_controluser (in relation.lib.php; thank to Alex for 
> the help!) is written on the top of PMA_DBI_query and PMA_DBI_try_query 
> methods.  PMA_DBI_query is written on the top of PMA_DBI_try_query.  I 
> was wondering since PMA_DBI_try_query and PMA_DBI_fetch_result are part 
> of a same class then what different using PMA_query_as_controluser makes?

It obviously uses the control user's link to make the query, which is 
the only proper way to do it. Please read Documentation.html about what 
is the control user.

> 
> Also, I tried using it but I got Resource ID#63 error.  I think SQL is 
> fine as it worked with PMA_DBI_fetch_result.
> 
> Thanks.
> 
> 
> --------------------------------------------------
> Best regards,
> Zeeshan Mughal
> Email:  zeeshanmughal at ieee.org <mailto:zeeshanmughal at ieee.org>
> Web:  http://www.zixan.info
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel


-- 
Marc Delisle
http://infomarc.info




More information about the Developers mailing list