You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
I'm sure mydumper v0.11.3 could dump a database without any tables. I think it's a bug in new version.
**Log**
** Message: 16:34:10.878: MyDumper backup version: 0.12.3-1
** Message: 16:34:10.885: Server version reported as: 5.7.25-log
** Message: 16:34:10.888: Connected to a MySQL server
** Message: 16:34:10.891: Acquiring FTWRL
** Message: 16:34:10.894: Started dump at: 2022-05-19 16:34:10
** Message: 16:34:10.896: Written master status
** Message: 16:34:10.903: Thread 1 connected using MySQL connection ID 140189
** Message: 16:34:10.913: Thread 2 connected using MySQL connection ID 140190
** Message: 16:34:10.923: Thread 3 connected using MySQL connection ID 140191
** Message: 16:34:10.933: Thread 4 connected using MySQL connection ID 140192
** Message: 16:34:10.941: Thread 3 dumping db information for `luna`
** Message: 16:34:10.941: Thread 1 dumping db information for `mao1`
** Message: 16:34:10.941: Thread 2 dumping db information for `mysql`
** Message: 16:34:10.941: Thread 4 dumping db information for `syncer_meta_schema`
** Message: 16:34:10.943: Thread 3 dumping db information for `sys`
luna is a new database without any table. This database is mentioned in the logs. However, there are no files related to this database in the dumped folder.
# ls antData3 | grep schema-create
mao1-schema-create.sql
mysql-schema-create.sql
syncer_meta_schema-schema-create.sql
sys-schema-create.sql
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| luna |
| mao1 |
| mysql |
| performance_schema |
| syncer_meta_schema |
| sys |
+--------------------+
7 rows in set (0.01 sec)
mysql> use luna;
Database changed
mysql> show tables;
Empty set (0.00 sec)
The text was updated successfully, but these errors were encountered:
Suarez1024
changed the title
[BUG]
[BUG] Mydumper couldn't dump a database without any table
May 19, 2022
Describe the bug
Mydumper couldn't dump a database without any table.
To Reproduce
Command executed:
./mydumper --host 'XXX' --port 3306 --user 'root' --password 'XXX' --outputdir 'antData3/' --verbose 3
What mydumper and myloader version has been used?
v0.12.3-1
Expected behavior
I'm sure mydumper v0.11.3 could dump a database without any tables. I think it's a bug in new version.
luna
is a new database without any table. This database is mentioned in the logs. However, there are no files related to this database in the dumped folder.The text was updated successfully, but these errors were encountered: