执行存储过程时显示错误
MySQL said: Documentation
#1045 - Access denied for user 'root'@'%' (using password: YES)
mysql上的权限
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, RELOAD, PROCESS, REFERENCES, INDEX, ALTER, SHOW DATABASES, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, REPLICATION SLAVE, REPLICATION CLIENT, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, CREATE USER, EVENT, TRIGGER ON *.* TO 'root'@'%' IDENTIFIED BY PASSWORD <secret> WITH GRANT OPTION
GRANT ALL PRIVILEGES ON `product`.* TO 'root'@'%' WITH GRANT OPTION
GRANT ALL PRIVILEGES ON `%`.* TO 'root'@'%' WITH GRANT OPTION
GRANT EXECUTE ON PROCEDURE `product`.`export_product` TO 'root'@'%' WITH GRANT OPTION
答案 0 :(得分:2)
Create DB parameter group。尝试上面的链接在amazon rds中创建db参数组,并启用log_bin_trust_function_creators来创建和执行函数触发器和存储过程