

Not content with offering an excellent, rock-solid distribution in Linux Mint 17.2 a.k.a Rafaela for free, Linux Mint developers have now put out an upgrade with a Christmas bag full of goodies. Sound the bugle, uncork the champagne and lay out the red carpet for the newly arrived Rosa a.k.a. └─2250 /usr/sbin/mysqld Posted by Koba at 1:46 pmįolks, there’s a new, pretty hooker Rosa in town and the lady can’t wait to establish herself on your lap-top or desk-top. Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Mon 02:13:20 EDT 19h ago On a Linux Mint or Ubuntu box, the following command should work: $ /etc/init.d/mysql status Threads: 1 Questions: 11943278 Slow queries: 0 Opens: 701 Flush tables: 2 Open tables: 260 Queries per second avg: 11.910 Mysqladmin Ver 9.0 Distrib 5.5.60-MariaDB, for Linux on x86_64Ĭopyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. Here’s one more way: # mysqladmin -u root -p version Uptime: 1001300 Threads: 1 Questions: 11923946 Slow queries: 0 Opens: 701 Flush tables: 2 Open tables: 260 Queries per second avg: 11.908

Here’s another method to check the status of MySQL server: $ mysqladmin -u root -p status My favorite is the systemctl method since I use it often to check the status of other services like httpd. └─26125 /usr/libexec/mysqld -basedir=/usr -datadir=/var/lib/mysql -plugin-dir=/usr/lib64/mysql/plugin -log-error=/var/log/mariadb/mariadb.log -pid-file=/var/run/mariadb/mariadb.pi. ├─25949 /bin/sh /usr/bin/mysqld_safe -basedir=/usr Loaded: loaded (/usr/lib/systemd/system/rvice enabled vendor preset: disabled)Īctive: active (running) since Thu 07:59:30 EDT 1 weeks 4 days ago Redirecting to /bin/systemctl status rvice Here are a few ways to determine if MySQL is running on a CentOS 7 or Red Hat 7 Linux box. While my answer was not wrong, I quickly realized there were better ways to find out if MySQL (or MariaDB) is running on a Linux box (in my case, CentOS 7). I quickly blurted out: Do a top or htop and you should see it. Just this morning, someone asked me for the command to check if MySQL (or MariaDB) is running?
