On Wed, Jul 18, 2001 at 09:57:00AM -0800, Chris Lott wrote:
>
> Using the mysqhotcopy that came with the most recent MySQL (3.23.39)
> on a RedHat 7.1 box with perl 5.6.0, I am getting the following
> errors when trying to back up all databases:
>
> mysqlhotcopy --password="foo" --allowold --regexp=".*" /usr/backups/ \
>
> _ListTables is deprecated, use $dbh->tables() at
> /usr/lib/perl5/site_perl/5.6.0/i386-linux/DBD/mysql.pm line 262.
> Use of uninitialized value in transliteration (tr///) at
> /usr/bin/mysqlhotcopy line 230.
> Use of uninitialized value in regexp compilation at /usr/bin/mysqlhotcopy
> line 231.
>
> If I specify just one database, I still get the "deprecated"
> warning, but the hotcopy works...
There are two bugs.
(1) The "depricated" message. I'm submitting a patch for that.
(2) The fact that if you specify no databases but do specify a
regexp, it doesn't do what you expect. It is unclear to me,
based on the docs for mysqlhotcopy, what it is supposed to do in
that case. But I'm leaning toward thinking that your
expectations are right. I'll put that in the patch as well.
Thanks,
Jeremy
--
Jeremy D. Zawodny, <[EMAIL PROTECTED]>
Technical Yahoo - Yahoo Finance
Desk: (408) 349-7878 Fax: (408) 349-5454 Cell: (408) 685-5936 <-- NEW
MySQL 3.23.29: up 33 days, processed 264,162,097 queries (89/sec. avg)
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php