Web lists-archives.com

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.