Mysql:User does not have access to metadata required to determine stored procedure parameter types.
2010-12-24 09:22
706 查看
学校某网站当时做的时候,找的外面的人做的。虽然做的很好,但是部署起来相当麻烦,而且还没有文档。昨天就出了问题,是图片处理出了问题。我又按照控制台的错误提示,上网查了查,原来是需要安装ImageMagick和jMagick。
今天又出现了问题,页面上的通知公告没有数据。控制台显示Mysql错误:"User does not have access to metadata required to determine stored procedure parameter types. ...... "。网上说在数据源配置的url里,加上"&noAccessToProcedureBodies=true"就可以了。我试了试,控制台又提示说:"The user specified as a definer('username'@'%') does not exist"。这个用户当时赋予权限时,是username@localhost,改为username@%就好了。
但是这是好的解决方法吗?把localhost改为%会不会不安全?有没有其他方法?先这样做吧,别影响学生查看通知。
今天又出现了问题,页面上的通知公告没有数据。控制台显示Mysql错误:"User does not have access to metadata required to determine stored procedure parameter types. ...... "。网上说在数据源配置的url里,加上"&noAccessToProcedureBodies=true"就可以了。我试了试,控制台又提示说:"The user specified as a definer('username'@'%') does not exist"。这个用户当时赋予权限时,是username@localhost,改为username@%就好了。
但是这是好的解决方法吗?把localhost改为%会不会不安全?有没有其他方法?先这样做吧,别影响学生查看通知。
相关文章推荐
- JDBC连接执行 MySQL 存储过程报权限错误:User does not have access to metadata required to determine stored procedure parameter types. If rights can not be granted,
- 执行存储过程提示 user does not have access to metadata required to determine stored procedure解决方案
- JDBC连接执行 MySQL 存储过程报权限错误:User does not have access to metadata required to determine stored procedur
- JDBC连接执行 MySQL 存储过程报权限错误:User does not have access to metadata required to determine stored procedur
- java.sql.SQLException: Userdoes not have access to metadata required to determine stored procedurepa
- nodejs gyp WARN EACCES user "root" does not have permission to access the dev dir
- mac安装jello,安装不过去,报gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/
- openshift:Perhaps your account does not have write access to this directory? You can change the cac
- SQL1092N The requested command or operation failed because the user ID does not have the authority to perform the requested command or operation.
- Scene is unreachable due to lack of entry points and does not have an identifier for runtime access
- SSRS 2014 User Domain\User does not have required permissions.
- The user running validate, does not have permissions to create computer objects in the 'x.com
- User <anonymous> does not have permission on weblogic.management.adminhome to perform lookup operati
- Scene is unreachable due to lack of entry points and does not have an identifier for runtime access
- Mac Os, Android Studio 升级提示:Android Studio does not have write access to /Applications/Android Studi
- Scene is unreachable due to lack of entry points and does not have an identifier for runtime access
- The current identity ( XXXX) does not have write access to ‘C:\Windows\Microsoft.NET\Framework\v4.0.
- Scene is unreachable due to lack of entry points and does not have an identifier for runtime access via -instantiateViewControllerWithIdentifier解决办法
- TF31003: Your user account does not have permsision to connect to the team foundation server xxx. Contact your team foun
- TFS2010提示:TF204017 The operation cannot be completed because the user does not have one or more required permissions (Use) for workspace