Triggers cloud sql 2nd generation

前端 未结 3 1682
臣服心动
臣服心动 2020-12-06 18:28

I am trying to populate a 2nd gen cloud sql instance (v5.7) with a database dump currently running on 1st gen cloud SQL. It has some triggers:

    /*!50003 C         


        
3条回答
  •  失恋的感觉
    2020-12-06 18:40

    I ran into the same issue and after reading all forums I could, the solution is to set the variable in the control panel from Google Cloud SQL instead of the console.

    1. Enter in the Instances Page: Instances

    2. Select your instance and go to edit. (Hit the three dots button).

    3. Go to the last option, Flags of "Marcas de Cloud SQL".

    4. Put your variable in ON State.

      log_bin_trust_function_creators -> ON

    5. I also had to wait a couple of minutes and enter to the Cloud Shell. (I don't have enough reputation to enter the link but look in google for "Using the mysql client in the Cloud Shell"

    2nd Generation Cloud SQL

提交回复
热议问题