Cent0S 7 e Mariadb

Cent0S 7 e Mariadb

Não consigo iniciar o mariadb/mysql, o arquivo innodb ficou corrompido após um desligamento forçado. Agora, depois de trabalhar nisso, entendo isso. Substituo todo o /var/lib/mysqldireto por uma cópia de backup e depois consigo isso.

Apr 29 23:43:38 host systemd[1]: Failed to start MariaDB database server.
Apr 29 23:43:47 host systemd[1]: Starting MariaDB database server...
Apr 29 23:43:47 host systemd[1]: mariadb.service failed to run 'start-pre' task: Structure needs cleaning
Apr 29 23:43:47 host systemd[1]: Failed to start MariaDB database server.
Apr 29 23:46:33 host systemd[1]: Starting MariaDB database server...
Apr 29 23:46:33 host systemd[1]: mariadb.service failed to run 'start-pre' task: Structure needs cleaning
Apr 29 23:46:33 host systemd[1]: Failed to start MariaDB database server.
Apr 30 00:48:43 host systemd[1]: Starting MariaDB database server...
Apr 30 00:48:43 host systemd[1]: mariadb.service failed to run 'start-pre' task: Structure needs cleaning
Apr 30 00:48:43 host systemd[1]: Failed to start MariaDB database server.

Responder1

Corrigi esse problema, agora os serviços simplesmente não iniciam! Acabei de reinstalar o mariadb RPM e funcionou novamente. Eu não usei YUM por causa de dependências

informação relacionada