Control: retitle -1 mysql database backup fails as it is done with root

Hi Dan,

Thanks for the additional information. It should now be easy to actually
figure out what is going wrong.

The following lines clearly show where it is going wrong:

creating database backup in
/var/cache/dbconfig-common/backups/phpmyadmin_4:4.4.15-1.2015-10-24-11.06.52.

_dbc_detect_installed_dbtype() mysql.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
password: NO).

While the code says:
_dbc_asuser="yes" # This used to be empty, but isn't needed, is it?
$dbc_dump_cmd $dbc_dumpfile || dbc_upgrade_error "backing up the old
database"

Apparently the user isn't picked up correctly somewhere and instead it
tries with root user. This should be relatively easy to find.

One additional question: it seems like you had to abort TWICE, is that
true? Once must really be enough. But while I write this, I have seen
earlier bugs that suggest that this may indeed go wrong more often (I
thought I fixed that with improved error handling some versions ago).

Paul



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to