日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > 数据库 >内容正文

数据库

mysql错误代码1813_ERROR 1813 (HY000) at line 404: Tablespace for table '`xxx`.`xxxxx`' exists.

發布時間:2024/4/19 数据库 31 豆豆
生活随笔 收集整理的這篇文章主要介紹了 mysql错误代码1813_ERROR 1813 (HY000) at line 404: Tablespace for table '`xxx`.`xxxxx`' exists. 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36## 主機Host1執行的操作

[iyunv@localhost tmp]# mysqldump -h 192.168.5.22 -u root --password=1234 --all-databases|mysql -h 192.168.5.33 -uroot --password=1234

Warning: Using a password on the command line interface can be insecure.

Warning: Using a password on the command line interface can be insecure.

ERROR 1813 (HY000) at line 647: Tablespace for table '`mysql`.`slave_master_info`' exists. Please DISCARD the tablespace before IMPORT.

[iyunv@localhost tmp]# mysqldump -h 192.168.5.22 -u root --password=1234 --all-databases|mysql -h 192.168.5.33 -uroot --password=1234

Warning: Using a password on the command line interface can be insecure.

Warning: Using a password on the command line interface can be insecure.

ERROR 1813 (HY000) at line 691: Tablespace for table '`mysql`.`slave_relay_log_info`' exists. Please DISCARD the tablespace before IMPORT.

[iyunv@localhost tmp]# mysqldump -h 192.168.5.22 -u root --password=1234 --all-databases|mysql -h 192.168.5.33 -uroot --password=1234

Warning: Using a password on the command line interface can be insecure.

Warning: Using a password on the command line interface can be insecure.

ERROR 1813 (HY000) at line 720: Tablespace for table '`mysql`.`slave_worker_info`' exists. Please DISCARD the tablespace before IMPORT.

[iyunv@localhost tmp]# mysqldump -h 192.168.5.22 -u root --password=1234 --all-databases|mysql -h 192.168.5.33 -uroot --password=1234

Warning: Using a password on the command line interface can be insecure.

Warning: Using a password on the command line interface can be insecure.

[iyunv@localhost tmp]#

## 主機Host2中執行的操作

[iyunv@localhost mysql]# mv innodb_table_stats.ibd??/tmp

[iyunv@localhost mysql]# service mysql restart

Shutting down MySQL..? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ???[??OK??]

Starting MySQL.? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ???[??OK??]

[iyunv@localhost mysql]# mv slave_master_info.ibd /tmp

[iyunv@localhost mysql]# service mysql restart

Shutting down MySQL..? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ???[??OK??]

Starting MySQL.? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ???[??OK??]

[iyunv@localhost mysql]# mv slave_relay_log_info.ibd /tmp

[iyunv@localhost mysql]# service mysql restart

Shutting down MySQL..? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ???[??OK??]

Starting MySQL.? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ???[??OK??]

[iyunv@localhost mysql]# mv slave_worker_info.ibd /tmp

[iyunv@localhost mysql]# service mysql restart

Shutting down MySQL..? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ???[??OK??]

Starting MySQL.? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ???[??OK??]

總結

以上是生活随笔為你收集整理的mysql错误代码1813_ERROR 1813 (HY000) at line 404: Tablespace for table '`xxx`.`xxxxx`' exists.的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。