<div dir="ltr">Yeah. That worked...<div style>Thanks..:)</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jan 18, 2014 at 5:51 PM, Marc Delisle <span dir="ltr"><<a href="mailto:marc@infomarc.info" target="_blank">marc@infomarc.info</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le 2014-01-18 02:14, Dhananjay Nakrani a écrit :<br>
<div class="im">> Hi guys,<br>
><br>
> I tried using 'PMA_getDbRightsForUserOverview()' and it turns out that<br>
> it returns the overview of privileges for all users present in<br>
> `mysql`.`user`.<br>
><br>
> What we need for this is the 'Create_priv' field for current user only.<br>
> I also looked for such a function<br>
> in './libraries/server_privileges.lib.php' but could not find any.<br>
><br>
> Do you know any functions which can give all the privileges<br>
> from `mysql`.`user` current user..??<br>
<br>
</div>Have a look in libraries/check_user_privileges.lib.php to the function<br>
PMA_analyseShowGrant().<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Marc Delisle<br>
<a href="http://infomarc.info" target="_blank">http://infomarc.info</a> | <a href="http://phpmyadmin.net" target="_blank">http://phpmyadmin.net</a><br>
<br>
------------------------------------------------------------------------------<br>
CenturyLink Cloud: The Leader in Enterprise Cloud Services.<br>
Learn Why More Businesses Are Choosing CenturyLink Cloud For<br>
Critical Workloads, Development Environments & Everything In Between.<br>
Get a Quote or Start a Free Trial Today.<br>
<a href="http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk" target="_blank">http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk</a><br>
_______________________________________________<br>
Phpmyadmin-devel mailing list<br>
<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
</div></div></blockquote></div><br></div>