<div dir="ltr">I&#39;m trying to use the <i>Tablespace fragmentation control</i> function, but it throws an error about me not having &quot;(at least one of) the PROCESS privilege(s)&quot; (see below).<div><br></div><div>I&#39;ve granted myself every logical privilege that&#39;s available (the ones I haven&#39;t granted myself are illogical, e.g. restricted and normal corpus access when I already have full access). </div><div><br></div><div>So what privileges do you need to use this function, and how do you create and/or grant them?</div><div><br></div><div>Thanks in advance!</div><div>Scott</div><div><br></div><div><table class="gmail-concordtable gmail-fullwidth" style="width:1454px;border-style:solid;border-color:rgb(255,255,255);border-width:5px;color:rgb(0,0,0);font-family:&quot;Times New Roman&quot;;font-size:medium"><tbody><tr><th class="gmail-concordtable" colspan="5" style="padding:7px 3px;background-color:rgb(255,136,153);border-style:solid;border-color:rgb(255,255,255);border-width:2px;font-family:&quot;Open Sans&quot;,Arial,Helvetica,Verdana,sans-serif">Tablespace fragmentation control</th></tr><tr><td class="gmail-concordgrey" colspan="5" style="padding:3px 7px;background-color:rgb(213,213,213);font-size:10pt;border-style:solid;border-color:rgb(255,255,255);border-width:2px;font-family:&quot;Open Sans&quot;,Arial,Helvetica,Verdana,sans-serif"><p>MySQL InnoDB database tables are stored in tablespace files. These files can become fragmented, in which case they will begin to occupy more disk space than they theoretically ought to. This can cause the cache to overflow.</p><p>Using the &quot;Optimise&quot; command can reduce the space occupied by a tablespace file so that it does not overflow.</p><p>The display below lists all CQPweb cache-database tablefiles, in order of how fragmented they appear to be.</p></td></tr><tr><th class="gmail-concordtable" style="padding:7px 3px;background-color:rgb(255,136,153);border-style:solid;border-color:rgb(255,255,255);border-width:2px;font-family:&quot;Open Sans&quot;,Arial,Helvetica,Verdana,sans-serif">Table name</th><th class="gmail-concordtable" style="padding:7px 3px;background-color:rgb(255,136,153);border-style:solid;border-color:rgb(255,255,255);border-width:2px;font-family:&quot;Open Sans&quot;,Arial,Helvetica,Verdana,sans-serif">Theoretical size</th><th class="gmail-concordtable" style="padding:7px 3px;background-color:rgb(255,136,153);border-style:solid;border-color:rgb(255,255,255);border-width:2px;font-family:&quot;Open Sans&quot;,Arial,Helvetica,Verdana,sans-serif">Size on disk</th><th class="gmail-concordtable" style="padding:7px 3px;background-color:rgb(255,136,153);border-style:solid;border-color:rgb(255,255,255);border-width:2px;font-family:&quot;Open Sans&quot;,Arial,Helvetica,Verdana,sans-serif">Ratio</th><th class="gmail-concordtable" style="padding:7px 3px;background-color:rgb(255,136,153);border-style:solid;border-color:rgb(255,255,255);border-width:2px;font-family:&quot;Open Sans&quot;,Arial,Helvetica,Verdana,sans-serif">Optimise</th></tr><tr><td class="gmail-concorderror" style="padding:3px 7px;background-color:rgb(221,221,255);font-size:10pt;border-style:solid;border-color:rgb(255,255,255);border-width:2px;font-family:&quot;Open Sans&quot;,Arial,Helvetica,Verdana,sans-serif"><p class="errormessage" style="font-size:large">An SQL query did not run successfully!</p><p class="errormessage" style="font-size:large">Original query: select `NAME` from `INFORMATION_SCHEMA`.`INNODB_SYS_TABLESPACES` limit 1 /* from User: scott | Function: can_get_sql_real_size() | 2019-Jun-14 12:46 */</p><p class="errormessage" style="font-size:large">Error # 1227: Access denied; you need (at least one of) the PROCESS privilege(s) for this operation</p></td></tr><tr><th class="gmail-concordtable" style="padding:7px 3px;background-color:rgb(255,136,153);border-style:solid;border-color:rgb(255,255,255);border-width:2px;font-family:&quot;Open Sans&quot;,Arial,Helvetica,Verdana,sans-serif">PHP debugging backtrace</th></tr><tr><td class="gmail-concorderror" style="padding:3px 7px;background-color:rgb(221,221,255);font-size:10pt;border-style:solid;border-color:rgb(255,255,255);border-width:2px;font-family:&quot;Open Sans&quot;,Arial,Helvetica,Verdana,sans-serif"><pre>array(6) {
  [1]=&gt;
  array(4) {
    [&quot;file&quot;]=&gt;
    string(42) &quot;/var/www/html/cqpweb/lib/exiterror-lib.php&quot;
    [&quot;line&quot;]=&gt;
    int(300)
    [&quot;function&quot;]=&gt;
    string(9) &quot;exiterror&quot;
    [&quot;args&quot;]=&gt;
    array(3) {
      [0]=&gt;
      array(3) {
        [0]=&gt;
        string(38) &quot;An SQL query did not run successfully!&quot;
        [1]=&gt;
        string(173) &quot;Original query: 

select `NAME` from `INFORMATION_SCHEMA`.`INNODB_SYS_TABLESPACES` limit 1 
        /* from User: scott | Function: can_get_sql_real_size() | 2019-Jun-14 12:46 */

&quot;
        [2]=&gt;
        string(100) &quot;Error # 1227: Access denied; you need (at least one of) the PROCESS privilege(s) for this operation &quot;
      }
      [1]=&gt;
      NULL
      [2]=&gt;
      NULL
    }
  }
  [2]=&gt;
  array(4) {
    [&quot;file&quot;]=&gt;
    string(36) &quot;/var/www/html/cqpweb/lib/sql-lib.php&quot;
    [&quot;line&quot;]=&gt;
    int(198)
    [&quot;function&quot;]=&gt;
    string(20) &quot;exiterror_mysqlquery&quot;
    [&quot;args&quot;]=&gt;
    array(3) {
      [0]=&gt;
      int(1227)
      [1]=&gt;
      string(85) &quot;Access denied; you need (at least one of) the PROCESS privilege(s) for this operation&quot;
      [2]=&gt;
      string(153) &quot;select `NAME` from `INFORMATION_SCHEMA`.`INNODB_SYS_TABLESPACES` limit 1 
        /* from User: scott | Function: can_get_sql_real_size() | 2019-Jun-14 12:46 */&quot;
    }
  }
  [3]=&gt;
  array(4) {
    [&quot;file&quot;]=&gt;
    string(36) &quot;/var/www/html/cqpweb/lib/sql-lib.php&quot;
    [&quot;line&quot;]=&gt;
    int(906)
    [&quot;function&quot;]=&gt;
    string(12) &quot;do_sql_query&quot;
    [&quot;args&quot;]=&gt;
    array(1) {
      [0]=&gt;
      string(153) &quot;select `NAME` from `INFORMATION_SCHEMA`.`INNODB_SYS_TABLESPACES` limit 1 
        /* from User: scott | Function: can_get_sql_real_size() | 2019-Jun-14 12:46 */&quot;
    }
  }
  [4]=&gt;
  array(4) {
    [&quot;file&quot;]=&gt;
    string(53) &quot;/var/www/html/cqpweb/lib/admin-cachecontrol-forms.php&quot;
    [&quot;line&quot;]=&gt;
    int(1217)
    [&quot;function&quot;]=&gt;
    string(21) &quot;can_get_sql_real_size&quot;
    [&quot;args&quot;]=&gt;
    array(0) {
    }
  }
  [5]=&gt;
  array(4) {
    [&quot;file&quot;]=&gt;
    string(38) &quot;/var/www/html/cqpweb/lib/adminhome.php&quot;
    [&quot;line&quot;]=&gt;
    int(358)
    [&quot;function&quot;]=&gt;
    string(30) &quot;printquery_innodbfragmentation&quot;
    [&quot;args&quot;]=&gt;
    array(0) {
    }
  }
  [6]=&gt;
  array(4) {
    [&quot;file&quot;]=&gt;
    string(34) &quot;/var/www/html/cqpweb/adm/index.php&quot;
    [&quot;line&quot;]=&gt;
    int(1)
    [&quot;args&quot;]=&gt;
    array(1) {
      [0]=&gt;
      string(38) &quot;/var/www/html/cqpweb/lib/adminhome.php&quot;
    }
    [&quot;function&quot;]=&gt;
    string(7) &quot;require&quot;
  }
}</pre></td></tr></tbody></table></div></div>