以前のリビジョンの文書です
sudo apt-get install mariadb-server mariadb-client
sudo systemctl status mysql
以下のように表示されます。
● mysql.service - LSB: Start and stop the mysql database server daemon Loaded: loaded (/etc/init.d/mysql; bad; vendor preset: enabled) Active: active (running) since 月 2019-07-15 13:10:53 JST; 26s ago Docs: man:systemd-sysv-generator(8) CGroup: /system.slice/mysql.service ├─1721 /bin/bash /usr/bin/mysqld_safe ├─1884 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mys └─1885 logger -t mysqld -p daemon error 7月 15 13:10:52 Moon mysqld[1885]: 190715 13:10:52 [Note] InnoDB: 128 rollback segment(s) are activ 7月 15 13:10:52 Moon mysqld[1885]: 190715 13:10:52 [Note] InnoDB: Waiting for purge to start 7月 15 13:10:52 Moon mysqld[1885]: 190715 13:10:52 [Note] InnoDB: Percona XtraDB (http://www.perco 7月 15 13:10:52 Moon mysqld[1885]: 190715 13:10:52 [Note] Plugin 'FEEDBACK' is disabled. 7月 15 13:10:52 Moon mysqld[1885]: 190715 13:10:52 [Note] Server socket created on IP: '127.0.0.1'. 7月 15 13:10:52 Moon mysqld[1885]: 190715 13:10:52 [Note] /usr/sbin/mysqld: ready for connections. 7月 15 13:10:52 Moon mysqld[1885]: Version: '10.0.38-MariaDB-0ubuntu0.16.04.1' socket: '/var/run/m 7月 15 13:10:53 Moon mysql[1692]: ...done. 7月 15 13:10:53 Moon systemd[1]: Started LSB: Start and stop the mysql database server daemon. 7月 15 13:10:53 Moon /etc/mysql/debian-start[1976]: Upgrading MySQL tables if necessary.