Inconnu/non prise en charge de moteur de stockage: InnoDB

Je suis la mise en place d'un serveur de réplication et lorsque je tente de démarrer le service mysql pour la première fois, il échoue:

[root@ravioli mysql]# service mysqld start
MySQL Daemon failed to start.
Starting mysqld:                                           [FAILED]
[root@ravioli mysql]# tail /var/log/mysqld.log 
151013 13:41:27 [ERROR] Plugin 'InnoDB' init function returned error.
151013 13:41:27 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
/usr/libexec/mysqld: File '/databases/mysql/mysql_slow_queries.log' not found (Errcode: 13)
151013 13:41:27 [ERROR] Could not use /databases/mysql/mysql_slow_queries.log for logging (error 13). Turning logging off for the whole duration of the MySQL server process. To turn it on again: fix the cause, shutdown the MySQL server and restart it.
151013 13:41:27 [ERROR] Unknown/unsupported storage engine: InnoDB
151013 13:41:27 [ERROR] Aborting

151013 13:41:27 [Note] /usr/libexec/mysqld: Shutdown complete

151013 13:41:27 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

J'ai confirmé que l'utilisateur mysql voit et est capable d'écrire à /databases/mysql/mysql_slow_queries.log.

Puis j'ai vérifié getenforce et de voir qu'il est défini à Enforcing.

Comment puis-je configurer MySQL pour jouer gentiment avec SELinux?

InformationsquelleAutor a coder | 2015-10-13