Question

How to import big MYSQL table into DO Managed database

I have database of the size 4gb that i would like to import into DO Mysql managed database.

I tried using mysqlimport with multiple threads but having trouble getting the process to start

mysqlimport: Error: 1227 Access denied; you need (at least one of) the SUPER, SYSTEM_VARIABLES_ADMIN or SESSION_VARIABLES_ADMIN privilege(s) for this operation

it seems the default user doesnt have enough access to run 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.

Hey @dieselutama-indonesia,

The proper way to import a Database in your DO Managed Database is outlined here:

https://docs.digitalocean.com/products/databases/mysql/how-to/import-databases/

Having said that, if you still hit the same error as described, I’ll recommend contacting DigitalOcean’s Support on the matter. They should be able to help you further:

https://www.digitalocean.com/support/

Hope that helps!