Create functions, procedures, และ triggers ใน Amazon RDS MySQL

18 ก.พ. 2019 , 2,112 Views   , หมวดหมู่ AWS MySQL โค๊ดดิ้ง   ,


  • ให้เข้าไปที่ Parameter groups
  • จากนั้นคลิกเลือก  Parameter groups  ที่ Instance เราใช้งาน
  • ค้นหา log_bin_trust_function_creators แล้วแก้ไขค่าเป็น log_bin_trust_function_creators = 1
  • หาก Save แล้วขึ้น Error ให้เราสร้าง Parameter groups ขึ้นมาใหม่แล้วแก้ไขค่า ให้เป็น  log_bin_trust_function_creators = 1 จากนั้นก็ไปแก้ไข Instance ของเราแล้วเลือก Parameter groups ที่เราสร้างขึ้นมาใหม่
  • จากนั้นก็ Reboot Instance

ดูเพิ่มเติม

https://aws.amazon.com/th/premiumsupport/knowledge-center/rds-mysql-functions/

https://github.com/ankane/pghero/issues/66