๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

๋ชฉ๋ก์ด ์—†์Šต๋‹ˆ๋‹ค.

[MySQL] ํ•จ์ˆ˜ ์ƒ์„ฑ ์‹œ ์—๋Ÿฌ ๋ฐœ์ƒ 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)

2021. 1. 15. ๐Ÿ›ข DB
  1. ์ƒํ™ฉ
  2. ํ•ด๊ฒฐ

 

 

์ƒํ™ฉ

ํ•จ์ˆ˜๋ฅผ ์ƒ์„ฑํ•˜๋ ค๊ณ  ํ–ˆ์œผ๋‚˜ ์•„๋ž˜์™€ ๊ฐ™์€ ์—๋Ÿฌ๋ฉ”์‹œ์ง€๊ฐ€ ๋ฐœ์ƒํ•จ.

์—๋Ÿฌ๋ฉ”์‹œ์ง€
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)

 

ํ•ด๊ฒฐ

DB์˜ root๋กœ ์ ‘์†ํ•˜์—ฌ ์•„๋ž˜ ์ฟผ๋ฆฌ๋ฅผ ์ˆ˜ํ–‰ํ•ด์ฃผ๊ณ  ์žฌ์ƒ์„ฑ

SET GLOBAL log_bin_trust_function_creators = 1;