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.的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: centos mysql 访问_cent
- 下一篇: 行人跟踪python_使用Python为