Can't Import MySQL Database

Hi there,

I want to use managed database instead of my own digitalocean vps server.

My server is centos and mysql version is 5.5.5.

I want to import mysql .sql file to new database. I installed “tablesplus” and chose “import” section. my database is 217mb. when it imports 20mb, then it gives an error.

after that I tried to connect my managed database from my terminal, to import my sql file.

mysql -u doadmin -p blablabla -h -P 25060 -D defaultdb

but when use it, it return me that error:

ERROR 1045 (28000): Plugin caching_sha2_password could not be loaded: dlopen(/usr/local/Cellar/mariadb/10.4.6//usr/local/Cellar/mariadb/10.4.6/lib/plugin/, 2): image not found

I can’t import my existing sql file to managed database. isn’t there any way to make it?

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.


I believe that your mysql client version might be 5.x and you need 8.x in order to be able to connect to the managed SQL instance.

You can test that by running this command:

mysql -v

If this is indeed the case, I would recommend following the steps on how to sort that out here:

Hope that this helps! Regards, Bobby