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 blabla-do-user-blabla-0.db.ondigitalocean.com -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/caching_sha2_password.so, 2): image not found
I can’t import my existing sql file to managed database. isn’t there any way to make it?
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!
Hello,
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.