mysql linux persmission to apache owned folders

Posted by Dani on Server Fault See other posts from Server Fault or by Dani
Published on 2009-12-16T14:34:20Z Indexed on 2010/03/21 2:01 UTC
Read the original article Hit count: 468

Filed under:
|
|
|

I want to be able to load files to the database using SQL (mysql) from a web directory (apache httpdocs directory) on a centos machine that runs apache, mysql and plesk.

I understand I need to give the mysql database user FILE permissions on .

but how can I give the mysql server (probably mysqld) access to the httpdocs folder and the files inside (httpdocs is owned by one user and everything inside is owned by apache).

© Server Fault or respective owner

Related posts about mysql

Related posts about apache