If you have mysqladmin available, you may get the list of queries with:

&gt; mysqladmin -uUSERNAME -pPASSWORD pr

+-----+------+-----------------+--------+---------+------+--------------+------------------+
| Id  | User | Host            | db     | Command | Time | State        | Info             |
+-----+------+-----------------+--------+---------+------+--------------+------------------+
| 137 | beet | localhost:53535 | people | Query   | 292  | Sending data | DELETE FROM      |
| 145 | root | localhost:55745 |        | Query   | 0    |              | show processlist |
+-----+------+-----------------+--------+---------+------+--------------+------------------+


Then you may stop the mysql process that is hosting the long running query:

&gt; mysqladmin -uUSERNAME -pPASSWORD kill 137


How can I stop a running MySQL query?
While explaining the idea product of two negative numbers I wanted to highlight a vertical part of the display to emphasize on the factors that are being multiplied by:

\documentclass[letterpaper]{article}
\usepackage{fullpage}
\usepackage{amsmath,amssymb,amsthm,enumitem}
\newcommand{\red}[1]{%
{\color{OrangeRed}#1}}
\begin{document}
    \begin{equation*}
    \left.\begin{array}{cc}
      -2\cdot \red{2}=&amp; -4 \\
      -2\cdot \red{1}=&amp; -2 \\
      -2\cdot \red{0}=&amp; 0
    \end{array}\right\} \text{\small Product increases by 2 each time.}
    \end{equation*}
\end{document}


This gives:


So I chose to use a color but then I had also wanted to achieve something like the following:


I am not interested in the yellow red bordered box. What am looking for is an arrow pointing on the red numbers with a vertical border around  them as shown and the possibility of adding a node with text in the same format shown aligned with the word "Product".


  Edit


Can I use this method to achieve this:

