You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Cloud SQL discuss
Hello all,
Using gcloud utility is possible to export mysql databases to a bucket, but exported file contains instructions like "use database", and when we need to restore same dump but to another database we have to edit file.
Is possible to add to gcloud sql export command additional flags equivalent to mysqldump flags: --no-create-db
David (Cloud Platform Support)
unread,
Feb 11, 2020, 3:21:09 PM2/11/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Cloud SQL discuss
Hello,
In order to avoid this error without editing the file, the database you are specifying in your export command must already exist in the instance you are importing the data into and it must be empty. it is not possible to add a flag such as “--no-create-db”. However, if you are interested in seeing this as a new feature, you could create a feature request using the Google Issue Tracker.