I am running mysql 8.0 on centos 7.4
phpmyadmin and workbench are showing totally different information regarding the number of connections (shown below).

at the sametime this is what I am seeing on workbench:
This is what is being shown from inside phpmyadmin regarding the processes:
The processes from inside workbench are shown below AND they coincide with the processes from phpmyadmin.
So why are they showing the same of processes but very different number of connections?



If you look at the payload for the ajax requests you can see the
requiredData, something like:The vars listed with
"type":"statusvar"are retrieved usingSHOW GLOBAL STATUS WHERE Variable_name=..., as can be seen here inServer/Status/Monitor.php:If you look at
refreshChartGrid()you can see that PMA is comparing the values received in each ajax call with the values from the previous call. For connections it is using the value ofConnections, notThreads_connectedwhich is used by Workbench.