Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation error #13

Open
motammem opened this issue Apr 16, 2014 · 4 comments
Open

Installation error #13

motammem opened this issue Apr 16, 2014 · 4 comments
Labels

Comments

@motammem
Copy link

SQL query:

DELIMITER ; ;

CREATE DEFINER = root@localhost FUNCTION __mydiv (
a int,
b int
) RETURNS bigint( 20 ) BEGIN
RETURN FLOOR( a / b ) ;

END ; ;

MySQL said: Documentation
#1418 - 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)

@zoghal
Copy link
Owner

zoghal commented Apr 17, 2014

درود بر شما
در چه نسخه ای از مای اسکیوال خطا بوجود آمده؟

@motammem
Copy link
Author

درود بیکران
ورژن mysql5.5.24 هستش.

@zoghal
Copy link
Owner

zoghal commented Apr 19, 2014

درود مجدد
من مجدد روی لوکال تست گرفتم . نسخه لوکال 5.5.34 هست. و بدون مشکل توابع ایجاد شدند.
به احتمال زیاد تنظیمات مای اسکیوال شما طوری هست که اجازه ایجاد توابع رو نمیده.

@motammem
Copy link
Author

motammem commented May 2, 2014

"binary logging" باید غیر فعال میشد

@zoghal zoghal reopened this Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants