79387063

Date: 2025-01-25 16:15:43
Score: 0.5
Natty:
Report link

Does the name of your source database contain any special characters? Like in my case?

I got the same error as you, but fixed it by changing the name of the database to something simple, like mydatabase.

How to change the name of the database?

E.g. by using Microsoft SQL Server Management Studio. Right-click the database -> click "Rename", type the new name, and hit enter.

For some reason I had to do it by re-attaching the database, and specify the new name in the Attach As field inside the Attach Databases dialogue.

Why does this happen?

Looking at the log from my case, I suspect the problem to be caused by MySQL Workbench calling wbcopytables.exe with the argument --table {YOUR_DATABASE_NAME}, which in my case it used --table {C:\DATABASES\db.mdf}. It seems to be copying the source database name directly into the terminal.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Sleiphan