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
Just found a problem when trying to dump/restore a DB host with databases containing dot in their names.
Let's say I have a database called 'db1.project1', inside I have a table 'table'. mydumper will properly dump everything resulting in a file name 'db1.project1.table-schema.sql'.
But when myloader tries to restore such file, it just creates database with name 'db1', not 'db1.project1'.
Just encounter the same issue. Can I be of any help ?
My use case
I have two databases. One without dot let's say db1 and one with db1.test
If i dump db1 and load it inside db1.test it works fine.
But when i dump db1.test and try to load it in db1.test I get a bunch of errors like duplicate entries for example.
After renaming db1.test into db1test everything works fine.
A dump of db1.test into db1test also works. So the problem seems to be the same as the one described above (during the loading part).
Hi!
Just found a problem when trying to dump/restore a DB host with databases containing dot in their names.
Let's say I have a database called 'db1.project1', inside I have a table 'table'. mydumper will properly dump everything resulting in a file name 'db1.project1.table-schema.sql'.
But when myloader tries to restore such file, it just creates database with name 'db1', not 'db1.project1'.
I think problem is here:
https://github.com/maxbube/mydumper/blob/master/myloader.c#L355
The text was updated successfully, but these errors were encountered: