Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: MySQLdump via Web

by moritz (Cardinal)
on Aug 12, 2011 at 14:06 UTC ( [id://920030]=note: print w/replies, xml ) Need Help??


in reply to MySQLdump via Web

The trick is to write to a directory where you have permissions. Usually /tmp/ does the trick, or you can set up a directory with write permissions in advance.

It really depends on your use case what solution is the best.

From a security perspective it is best to avoid giving www-data write permissions to any directories that web server uses (for configuration or as a document root)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://920030]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-23 23:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found