I am able to create mysql stored procedures but not stored functions.
example:
DELIMITER $$;
DROP FUNCTION IF EXISTS `interkm_db1`.`temp`$$
CREATE FUNCTION `interkm_db1`.`temp` ()
RETURNS int
BEGIN
return 1;
END$$
DELIMITER ;$$
Error Code : 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)
It still complains that it does not have SUPER privilege when I use the DETERMINISTIC statement.
This is an ISP hosted mysql installation.
SHOW VARIABLES LIKE "%version%";
protocol_version 10
version 5.1.61-0+squeeze1-log
version_comment (Debian)
version_compile_machine i486
version_compile_os debian-linux-gnu
MORE DETAIL I only have all PRIVILEGES to my database on
GRANT ALL PRIVILEGES ON interkm_db1
.* TO 'interkm_1'@'%'
GRANT USAGE ON . TO 'interkm_1'@'%' IDENTIFIED BY PASSWORD '-------'
GRANT ALL PRIVILEGES ON interkm_db1
.* TO 'interkm_1'@'%'