MonetDB auto-backup mechanic problem
Create .monetdb file in the home directory as below:

cat &lt;&lt; EOF &gt; $HOME/.monetdb
user=monetdb
password=monetdb
EOF

Replace the above content with your monetdb username and password.
Change the file permission to prevent other user from reading it [optional]
Run:

export msqldump=$HOME/.monetdb
echo 'export msqldump=$HOME/.monetdb' &gt;&gt; $HOME/.bashrc



After making above changes, I have ran the below mysqldump command, it doesn't ask user to input password.

mysqldump -d[database-name] &gt; [sql_dump_backup_path]


Source :How to setup mysqldump without password in cronjob