Answers for "check status mysql"

SQL
0

mysql status

sudo service mysql status
# or
ps aux | grep mysql
# connexion:
mysql -u <username> -p <database-name>
Posted by: Guest on April-06-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