Answers for "check mysql status ubuntu"

SQL
8

how to check mysql version ubuntu

# Console:
mysql -V
mysql --version
# Query:
SHOW VARIABLES LIKE "%version%";
# PHPMyAdmin Interface, on the right side:
> Database server > Server version
Posted by: Guest on August-13-2021
0

check mysql status on commandline

$ systemctl status mysql
● mysql.service - LSB: Start and stop the mysql database server daemon
     Loaded: loaded (/etc/init.d/mysql; generated)
     Active: active (running) since Tue 2021-05-18 13:34:02 CEST; 12s ago
       Docs: man:systemd-sysv-generator(8)
    Process: 127538 ExecStart=/etc/init.d/mysql start (code=exited, status=0/SUCCESS)
      Tasks: 33 (limit: 9079)
     Memory: 100.8M
        CPU: 569ms
...
Posted by: Guest on July-04-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language