查看系统日志/var/log/mariadb/mariadb.log
190313 14:31:03 InnoDB: Database was not shut down normally! InnoDB: Starting crash recovery. InnoDB: Reading tablespace information from the .ibd files... InnoDB: Restoring possible half-written data pages from the doublewrite InnoDB: buffer... 190313 14:31:03 InnoDB: Waiting for the background threads to start 190313 14:31:04 Percona XtraDB (https://www.percona.com) 5.5.49-MariaDB-38.0 started; log sequence number 1597945 190313 14:31:04 [Note] Plugin 'FEEDBACK' is disabled. 190313 14:31:04 [ERROR] mysqld: Can't find file: './mysql/plugin.frm' (errno: 13) 190313 14:31:04 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. 190313 14:31:04 [Note] Server socket created on IP: '0.0.0.0'. 190313 14:31:04 [ERROR] mysqld: Can't find file: './mysql/host.frm' (errno: 13) 190313 14:31:04 [ERROR] Fatal error: Can't open and lock privilege tables: Can't find file: './mysql/host.frm' (errno: 13) 190313 14:31:04 mysqld_safe mysqld from pid file /var/run/mariadb/mariadb.pid ended 190313 14:32:37 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql 190313 14:32:37 [Note] /usr/libexec/mysqld (mysqld 5.5.52-MariaDB) starting as process 4335 ... 190313 14:32:37 InnoDB: The InnoDB memory heap is disabled 190313 14:32:37 InnoDB: Mutexes and rw_locks use GCC atomic builtins 190313 14:32:37 InnoDB: Compressed tables use zlib 1.2.7 190313 14:32:37 InnoDB: Using Linux native AIO 190313 14:32:37 InnoDB: Initializing buffer pool, size = 128.0M 190313 14:32:37 InnoDB: Completed initialization of buffer pool 19031