habibzain Just husband, father and enthusiastic men about System Administration. Love to write short article about it. Perhaps can help and be useful for others.

MySQL Export Show Processlist

13 sec read

Sometime, as sysadmin we need export “Show Processlist;” in mysql prompt mode. This easiest method mysql export show processlist.

As usual, for showing processlist we just type “show processlist;” in mysql. But for analyzed and troubleshooting time query we need to export it to another file.

 mysql -u root -p -e "show processlist" > /srv/name-file-export.txt

Just it, is very simple right? ๐Ÿ™‚

habibzain Just husband, father and enthusiastic men about System Administration. Love to write short article about it. Perhaps can help and be useful for others.

Fix mysqli_real_connect Access denied for user ‘root’@’localhost’

Have we ever face the error mysqli_real_connect(): (HY000/1698): Access denied for user ‘root’@’localhost’ when logging in as root on the mysql server? In this...
habibzain
2 min read

ISPConfig Ubuntu 18.04 Nginx MySQL

In this blog post, I will show you how to install and configure ISPConfig Ubuntu 18 with Nginx web server. ISPConfig is a powerful...
habibzain
5 min read

Install Percona Server for MySQL 5.6 In Ubuntu 18

Hi Dude. In this article, I will show you how to install Percona MySQL 5.6 on Ubuntu 18.04 LTS. Percona MySQL is a drop-in...
habibzain
1 min read

Leave a Reply

Your email address will not be published. Required fields are marked *

Never miss good article from us, get weekly updates in your inbox