I use the following in a bash script to backup a WP site database:
mysqldump -u$mysqlusername -p$password $databasename > /home2/[myusername]/backups/$siterootfolder/$siterootfolder-$datestamp.sql
And I get this warning:
Warning: Using unique option prefix pass instead of password is deprecated and will be removed in a future release. Please use the full name instead.
I have used the full name instead and still get the warning.
If anyone has any ideas that would be much appreciated.