cannot connect to mysql database from php
Hello
I use Fedora Core 3, fresh installation after system crash. When I access my website, that worked before, I cannot access the databases from php. I get this error: Aug 20 10:39:22 linuxweber kernel: audit(1124523562.084:0): avc: denied { write } for pid=2665 exe=/usr/sbin/httpd name=mysql.sock dev=dm-0 ino=1295621 scontext=root:system_r:httpd_t tcontext=root:object_r:var_lib_t tclass=sock_file I can connect directly to the mysql server with the mysql client with the user and password the php script uses. Any suggestion will be most appreciate. Thank you. |
that is SELinux poking it's nose in. there should be some redhat-config-security utility or somethign that will handle the context permissions there. Personally i've just turned it off..
|
thank you acid_kewpie for your assistence.
Unfortunately I lost my patience in the process and I've installed slackware 10 which I'm used to. I had to work a bit on settings but it works well. Thank you again. |
All times are GMT -5. The time now is 03:08 PM. |