MySQL backups and new error

If I backup a MySQL DB this gets inserted into the first line of the backup file. The restore breaks when it sees this strange line. Both the manual "sql" backup and the complete virtualmin server backup do this.

"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."

Using Mysql 5.5.46

Status: 
Active

Comments

That's an odd message, as Virtualmin should be already using the --password flag to set the password.

What does the file /etc/webmin/mysql/version contain on your system?

/etc/webmin/mysql/version 5.5.46

This is the first few lines from the ".sql" file created:

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. -- MySQL dump 10.13 Distrib 5.5.46, for Linux (x86_64)

Do you have a pass= line in your /root/.my.cnf file? If so, try removing that.

Yes, I had installed a .my.cnf for some experiment or another, and of course, it had "pass=". Of course, I promptly forgot that it was even there. Thanks!

Great, glad to hear that's working for you now!