Chinaunix首页 | 论坛 | 博客
  • 博客访问: 246840
  • 博文数量: 61
  • 博客积分: 2510
  • 博客等级: 少校
  • 技术积分: 800
  • 用 户 组: 普通用户
  • 注册时间: 2008-02-14 15:18
文章分类

全部博文(61)

文章存档

2011年(4)

2010年(5)

2009年(10)

2008年(42)

我的朋友

分类: Mysql/postgreSQL

2008-08-07 17:22:13

运行如下:
[root@local_slavedb ~]# mysqlhotcopy  test /tmp
Invalid db.table name 'test.test`.`mytest' at /usr/bin/mysqlhotcopy line 855.
 
解决方法:
Suggested fix:
A quick and dirty fix is to strip the database prefix from the list of tables. This
happens in function get_list_of_tables(). Adding the following line right behind line 835
will strip the prefixing schema:

map { s/^.*?\.//o } @dbh_tables;

A long term fix would be to avoid $dbh->tables() (it is marked deprecated anyway) and use either table_info() or plain SHOW TABLES instead.
 
 
源自:
阅读(945) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~