当前位置:网站首页>This function has none of deterministic, no SQL solution

This function has none of deterministic, no SQL solution

2022-06-26 12:58:00 Zhongna

database :MySQL 8.0 +

Environmental Science :Docker

Problem description :

The following error message appears when creating custom data :

This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled

Solution :

First step : Get into Mysql ( Do not enter any database )

The second step : Run the following SQL sentence

 set global log_bin_trust_function_creators=TRUE;

Then execute the custom function , Normal execution

原网站

版权声明
本文为[Zhongna]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/177/202206261157344836.html