MySQL is not working on PHP with Fedora 16

Kernel Guardian kernelgardian at gmail.com
Mon Jan 23 05:57:10 UTC 2012


by default apache can't make a connection to DB.
setsebool httpd_can_network_connect_db on

for permanent change add -P as param to setsebool

for all selinux apache attributes:
getsebool -a | grep httpd

or man page
man httpd_selinux

/var/lib/mysql/mysql.sock is a valid TCP socket with domain UNIX.
On Jan 22, 2012 7:04 PM, "bruce" <badouglas at gmail.com> wrote:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120123/b2189bd2/attachment.html>


More information about the users mailing list