If your MySQL database has a binary field in it and you hit the above error while restoring from the dump like the one below.
Issue the follow command in MySQL console.
SET GLOBAL log_bin_trust_function_creators = 1;
If your MySQL database has a binary field in it and you hit the above error while restoring from the dump like the one below.
Issue the follow command in MySQL console.
SET GLOBAL log_bin_trust_function_creators = 1;
To relax the preceding conditions on function creation (that you must have the SUPER privilege and that a function must be declared deterministic or to not modify data), set the global log_bin_trust_function_creators system variable to 1. By default, this variable has a value of 0, but
you can change it like this:
mysql> SET GLOBAL log_bin_trust_function_creators = 1;
You can also set this variable by using the –log-bin-trust-function-creators=1 option when starting the server.
http://dev.mysql.com/doc/refman/5.0/en/stored-programs-logging.html