Question

Error when importing to managed database

When attempting to import data from an SQL file export following the mysql command line instructions for managed db, I receive ERROR 1102 (42000): Incorrect database name ' '

I copied the connection details using flags option from the dashboard and I’m connecting from one of the trusted sources. The name ’ ’ does not match the db I’m copying into or the source db/name in the sql file.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there,

Can you share the exact command that you are running here? Make sure to hide any sensitive information like passwords and etc.

Also, it is possible that there is a special character in the password causing the problem. What I could suggest is wrapping the username, the password and the database name in single quotes to make sure that the special symbols do not cause the problem.

Regards, Bobby