logo       

Bug#539370: automysqlbackup: Unable to backup databases with names containi: msg#02799

debian-bugs-rc

Subject: Bug#539370: automysqlbackup: Unable to backup databases with names containing hyphens since MySQL 5.1

Michael Pitra wrote:
> Since the upgrade of mysql-server (and client) to 5.1, mysql rewrites the
> directory of existing databases
> with names containing hyphens with special characters, in this case "@002".
> As the /etc/default/automysqlbackup script detects all databases using
> `find`, this breaks the backup
> process of theses specific databases.
> I am unsure whether other characters are affected.
>
> In my opinion, the list of databases should be retrieved using the client and
> SHOW DATABASES, this
> won't break any name rewriting issues.
>
> Regards,
> Michael

Hi,

Thanks for this report.

Would you be able to send a patch for it?

Also, the default is just a default, it's there to be edited. You are
currently having a very specific setup with some strange caracters
(hyphen) which is not the general case. I'm not sure if we should make
special cases for that.

Let me know what you think, and if you can send a patch,

Thomas



--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise