title: phpMyAdmin Strange permissions #1142 error after deleting a table record with success
body: <p>A have a live/production <em>CentOS 6.8</em> server with <em>Nginx</em>, <em>PHP</em> (multiple versions), MySQL 5.7.18 and latest (when writing this question) <em>phpMyAdmin 4.7.0</em>.</p>
  
  <p>This server is running for many years and with no problems, but recently I noticed a problem when I tried to delete a record from a table using phpMyAdmin, I got the following error:</p>
  
  <blockquote>
    <p><strong>#1142 - SELECT command denied to user 'test_user'@'localhost' for
    table 'pma__tracking'</strong></p>
  </blockquote>
  
  <p>Strange thing is that it <strong>deletes</strong> the record but it can't refresh the result after the deletion! Also, <strong>all SELECT queries work</strong> and every data browse successfully fetches data on each table!</p>
  
  <p>I have each database to has its' own user with all privileges granted.</p>
  
  <p>I have properly installed <code>$cfg['Servers'][$i]['controluser']</code> and <code>$cfg['Servers'][$i]['controlpass']</code> and all the tables exists inside <code>$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';</code> database.</p>
  
  <p>My question is, why is this happening and how can I fix it? It's strange for me, because I expect that the user defined inside phpMyAdmin config should access <code>pmadb</code> (<code>'pma'@'localhost'</code>) and the tables in it and NOT the user that connects to a database!</p>