Using MySQL Workbench 5.2.25
Import Server MySQL Server 5.1.56, SUSE 2.6.16.60-0.42.5
Export Server MySWL Server 5.0.26, 2.6.27.45-0.1-default
I have an extant database of the same name on both servers. All attempts to import, whether the entire schema or individual tables, are failing with error 1046 (3D000) no database selected.
I have confirmed that the default database set in WB is correct.
Exports are done manually via mysqldump. I have tried both single file dumps and using the --tab option to create individual files by table.
Examining the exported files shows there is no "USE `<dbname>`; statment in the files. Were I to export a database using WB from the target server I would see such a statement.
Do I need to manually edit every export file to include this before WB will import into the default / selected database?
Import Server MySQL Server 5.1.56, SUSE 2.6.16.60-0.42.5
Export Server MySWL Server 5.0.26, 2.6.27.45-0.1-default
I have an extant database of the same name on both servers. All attempts to import, whether the entire schema or individual tables, are failing with error 1046 (3D000) no database selected.
I have confirmed that the default database set in WB is correct.
Exports are done manually via mysqldump. I have tried both single file dumps and using the --tab option to create individual files by table.
Examining the exported files shows there is no "USE `<dbname>`; statment in the files. Were I to export a database using WB from the target server I would see such a statement.
Do I need to manually edit every export file to include this before WB will import into the default / selected database?