Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Could not connect to mysql from php fedora core 3

Status
Not open for further replies.

rocordial

Programmer
Aug 20, 2005
1
RO
Hello

I'we freshly installed fedora core 3 after a system crash.

My php scripts, that worked before, now cannot to the mysql server. I can connect to the server with the mysql client using the username and password that php script uses.

In the logs I get the following 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:eek:bject_r:var_lib_t tclass=sock_file

Any help will be most appreciate.

Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top