0

I am trying to import a dump sql file generated from Mysql Workbench. I have two schemas, many tables and procedures. Furthermore, I have some users in that database which creates some temporary tables. I have seen a document which says to remove keyword as DEFINER and I have done that but the problem is still happening when I import my dump.sql in CloudSQL.

The problem faced is "ERROR 1227 (42000) at line 24: Access denied; you need (at least one of) the SUPER privilege(s) for this operation Import error: exit status 1".

What I notice is that Importing can not run CREATE, DROP. Does anyone could help me to get my dump file imported?

1 Answer 1

1

In order to import to Cloud SQL MySQL you need to follow certain requirements as stated in the documentation. One of them is that the dump must not contain stored procedures. You stated you do have, so you'd have to exclude them from the dump file and recreate them after importing the data.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.