Had same problem.
Had to drop tables left by plugin after it was uninstalled, then manually remove the function in the database exported SQL that was also left by the plugin. The function “wp_fn_realmedialibrary_childs” has a bug in that prevents SQL dump import …
ERROR 1418 (HY000) at line 965 in file: ‘/tmp/.webmin/710438_22214_1_restore.cgi/michaelzfreeman.org_mysql_michaelzfreeman_org_wordpress’: 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)