Re: [PHP] One Button DB backup
- Date: Sat, 5 Nov 2016 16:23:28 -0700
- From: David Harkness <david.h@xxxxxxxxxxxxxxxxx>
- Subject: Re: [PHP] One Button DB backup
On Sat, Nov 5, 2016 at 1:15 PM, Adam Jon Richardson <adamjonr@xxxxxxxxx>
> 1) This approach shouldn't be used on a shared server, as the command-line
> logs could be viewed by others to gain the DB credentials.
You can store the credentials in ~/.my.cnf for the user that will be
executing the script (Apache?) so you can keep them off the command line.