Google cloud sql instance super privilege error

前端 未结 9 1577
挽巷
挽巷 2021-02-19 06:30

I am very new in Google app engine please help me to solve my problem

I have created one instance in Google cloud sql when I import SQL file then it shows me error like

9条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-19 07:07

    I also faced the same issue. But the problem was in dumped sql database. When exporting the database use these flags

    --hex-blob --skip-triggers --set-gtid-purged=OFF
    

    Here is the complete documentation of how to do it (https://cloud.google.com/sql/docs/mysql/import-export/importing). Once the data is exported, it can be imported using command line, gcloud shell or there is an option of import in gcloud sql as well.

    I used the import feature of gcloud sql console and it worked for me.

提交回复
热议问题