<div dir="auto">Hi Manish,<div dir="auto"><br></div><div dir="auto">When you are dealing with configuration storage, you need to use controluser link for database interface. Otherwise, it will use current user to execute queries. Current user may not have permissions to even access phpmyadmin database. You can do this by passing $GLOBALS['controluser'] as parameter to any function operating with DBI. I am assuming that you have set up controluser and similar parameters in config.inc.php file. If it still doesn't work, please share the error you are getting.</div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Raghuram</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 17-Jul-2017 3:16 PM, "Manish Bisht" <<a href="mailto:manish.bisht490@gmail.com">manish.bisht490@gmail.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">How to use the phpmyadmin configuration database properly.<div><br></div><div>I am using the following code.</div><div><br></div><div><span style="color:rgb(38,50,56);font-size:13px">$GLOBALS['dbi']->selectDb('<wbr>phpmyadmin');</span><br style="color:rgb(38,50,56);font-size:13px"><span style="color:rgb(38,50,56);font-size:13px">$GLOBALS['dbi']->tryQuery('<wbr>INSERT INTO `pma__progress` VALUES ("sas", "sas", 50, 100)');</span><br></div><div><span style="color:rgb(38,50,56);font-size:13px"><br></span></div><div><font color="#263238">Let me know if I am correct or wrong. I think I am missing something.</font></div><div><span style="color:rgb(38,50,56);font-size:13px"><br></span></div></div><div class="gmail_extra"><div class="quoted-text"><br clear="all"><div><div class="m_1823322520858959042gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr">Manish Bisht</div><div dir="ltr">Email : <a href="mailto:hi@manishbisht.me" target="_blank">hi@manishbisht.me</a></div><div dir="ltr"><span style="font-size:12.8px">Website</span><span style="font-size:12.8px"> : </span><a href="https://manishbisht.me/" style="font-size:12.8px" target="_blank">https://manishbisht.<wbr>me</a></div><div><br></div></div></div></div></div></div></div></div></div></div>
<br></div><div class="elided-text"><div class="gmail_quote">On Sat, Jul 15, 2017 at 5:07 PM, Manish Bisht <span dir="ltr"><<a href="mailto:manish.bisht490@gmail.com" target="_blank">manish.bisht490@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks<div><br></div><div><span style="color:rgb(38,50,56);font-size:13px">Just created the table by running import.</span><br></div><div><span style="color:rgb(38,50,56);font-size:13px"><br></span></div><div><span style="color:rgb(38,50,56);font-size:13px">How to save data in the tables by running queries from any file.</span></div></div><div class="gmail_extra"><span><br clear="all"><div><div class="m_1823322520858959042m_-6494879698547783978gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr">Manish Bisht</div><div dir="ltr">Email : <a href="mailto:hi@manishbisht.me" target="_blank">hi@manishbisht.me</a></div><div dir="ltr"><span style="font-size:12.8px">Website</span><span style="font-size:12.8px"> : </span><a href="https://manishbisht.me/" style="font-size:12.8px" target="_blank">https://manishbisht.<wbr>me</a></div><div><br></div></div></div></div></div></div></div></div></div></div>
<br></span><div><div class="m_1823322520858959042h5"><div class="gmail_quote">On Sat, Jul 15, 2017 at 5:02 PM, Raghuram Vadapalli <span dir="ltr"><<a href="mailto:raghuram.vadapalli@research.iiit.ac.in" target="_blank">raghuram.vadapalli@research.i<wbr>iit.ac.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div dir="auto" style="font-family:sans-serif;font-size:13.696px">Hi,<div dir="auto"><br></div><div dir="auto">You have to run that sql file. Running it is part of installation process as far as I know.</div><div dir="auto"><br></div><div dir="auto">Regards, </div><span class="m_1823322520858959042m_-6494879698547783978HOEnZb"><font color="#888888"><div dir="auto">Raghuram</div></font></span></div><br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_1823322520858959042m_-6494879698547783978h5">On 15-Jul-2017 4:38 PM, "Manish Bisht" <<a href="mailto:manish.bisht490@gmail.com" target="_blank">manish.bisht490@gmail.com</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_1823322520858959042m_-6494879698547783978h5"><div dir="ltr">Hi,<div><br></div><div>To store the import/export progress I have added one new table in sql/create_tables.sql file but I can't see my new table in the phpmyadmin database. How to update phpmyadmin database from that file. I guess there is something that do it automatically instead of manually executing the statement.</div><div><br></div><div>Thanks,</div><div><br clear="all"><div><div class="m_1823322520858959042m_-6494879698547783978m_-5051300564485803342m_-6225136195198093810gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr">Manish Bisht</div><div dir="ltr">Email : <a href="mailto:hi@manishbisht.me" target="_blank">hi@manishbisht.me</a></div><div dir="ltr"><span style="font-size:12.8px">Website</span><span style="font-size:12.8px"> : </span><a href="https://manishbisht.me/" style="font-size:12.8px" target="_blank">https://manishbisht.<wbr>me</a></div><div><br></div></div></div></div></div></div></div></div></div></div>
</div></div>
<br></div></div><span>______________________________<wbr>_________________<br>
Developers mailing list<br>
<a href="mailto:Developers@phpmyadmin.net" target="_blank">Developers@phpmyadmin.net</a><br>
<a href="https://lists.phpmyadmin.net/mailman/listinfo/developers" rel="noreferrer" target="_blank">https://lists.phpmyadmin.net/m<wbr>ailman/listinfo/developers</a><br>
<br></span></blockquote></div></div>
<br>______________________________<wbr>_________________<br>
Developers mailing list<br>
<a href="mailto:Developers@phpmyadmin.net" target="_blank">Developers@phpmyadmin.net</a><br>
<a href="https://lists.phpmyadmin.net/mailman/listinfo/developers" rel="noreferrer" target="_blank">https://lists.phpmyadmin.net/m<wbr>ailman/listinfo/developers</a><br>
<br></blockquote></div><br></div></div></div>
</blockquote></div><br></div></div>
<br>______________________________<wbr>_________________<br>
Developers mailing list<br>
<a href="mailto:Developers@phpmyadmin.net">Developers@phpmyadmin.net</a><br>
<a href="https://lists.phpmyadmin.net/mailman/listinfo/developers" rel="noreferrer" target="_blank">https://lists.phpmyadmin.net/<wbr>mailman/listinfo/developers</a><br>
<br></blockquote></div><br></div>