antimac.org
Dan's homepage

Trying to get MySQL running under CentOS and SELinux?  Try disabling the latter, or doing the following to allow MySQL to startup with access to precious system files:

1) install selinux-policy-targeted-sources from your OS vendor
2) add the following two lines to /etc/selinux/targeted/src/policy/domains/program/mysqld.te:
allow mysqld_t random_device_t:chr_file read;
allow mysqld_t urandom_device_t:chr_file read;
3) cd to /etc/selinux/targeted/src/policy and issue the following command:
make load

Worked for me!


Notice: link_pages is deprecated since version 2.1! Use wp_link_pages() instead. in /deepspace/backup/web/web/virtuals/antimac.org/wp-includes/functions.php on line 3467

Leave a Reply