MySQL的存储过程,在我的笔记本开发时,用名为root,密码为空可以用。但是,上传到服务器里就不能了。
我用grant创建了一个用户。并且设置了存储过程SQL SECURITY INVOKER后,为什么还是不能用?例如:
[code="sql"]delimiter $$
create procedure p1()
SQL SECURITY INVOKER
begin
select id,website,content,url from po;
end $$
delimiter ;[/code]
我用的是MySQL 5.0.45.
:twisted: :twisted: :twisted: