Since few days ago I had no problem to perform my data backups
using mysqlhotcopy.
Tonight I had an astonishing problem:
Invalid db.table name 'archivio.archivio`.`almanacco' at /usr/bin/mysqlhotcopy line 859
Invalid db.table name 'banner.banner`.`adv' at /usr/bin/mysqlhotcopy line 859
… and so on … for every database to backup.
It’s very strange that the db_name the script needs to access is
‘archivio.archivio’. There’s a duplication of the db name, I have
a db named ‘archivio’ not ‘archivio.archivio’.
So, what’s the problem?
I didn’t change mysqlhotcopy during last few months, but I
updated my ubuntu just few days ago and the new DBD version is
4.0004 instead of older 2.9xxx.
Newer versions of DBD::mysql seem to prefix the table names with
the database name causing mysqlhotcopy to fail. This seems to
happen after version 4.0003
Now I have just two solutions: …
[Read more]