851
แจ้งข้อผิดพลาดการทำงานของ HOSxP V3 / Re: จาก 3.50.11.17 มาเป็น 3.51.5.29
« เมื่อ: มิถุนายน 06, 2008, 13:38:02 PM »
ผมก็เคยอัพ ข้ามมาหลายเวอร์ชั่นเหมือนกันครับ จาก 3.50.11.30 มาเป็น 3.51.5.14 แต่ตอนที่ผมทำ ผมลง hosxp full setup (3.51.3.4) ก่อน แล้วก็ up stucture กับ repair table แล้วเกิด error แบบนี้
This function has none of DETERMINISTIC, NO SQL,
or READS SQL DATA in its declaration and binary logging is enabled
(you *might* want to use the less safe log_bin_trust_function_creators
variable)
แต่ผมก็อัพต่อเป็น 3.51.5.14 ตามด้วย up structure แล้วก็แก้ error ด้านบนด้วย
shell> mysql_upgrade -u root -p
shell> mysql_fix_privilege_tables --password=root_password
mysql> SET GLOBAL log_bin_trust_function_creators = 1;
แล้วอาการก็หายครับ ใช้ได้ตามปรกติ
ลองทำดูครับ
This function has none of DETERMINISTIC, NO SQL,
or READS SQL DATA in its declaration and binary logging is enabled
(you *might* want to use the less safe log_bin_trust_function_creators
variable)
แต่ผมก็อัพต่อเป็น 3.51.5.14 ตามด้วย up structure แล้วก็แก้ error ด้านบนด้วย
shell> mysql_upgrade -u root -p
shell> mysql_fix_privilege_tables --password=root_password
mysql> SET GLOBAL log_bin_trust_function_creators = 1;
แล้วอาการก็หายครับ ใช้ได้ตามปรกติ
ลองทำดูครับ