Tag: 权限

无法从Java执行MySQL存储过程

我正在从运行在tomcat中的Web应用程序连接到Linux机器上运行的MySQL(5.08)数据库。 我尝试执行存储过程时收到以下exception: com.hp.hpl.chaos.web.exception.DBException: getNextValue for operatorinstance[Additional Information from SQL Exception][SQLErrorCode: 0 SQLState: S1000 at com.hp.hpl.chaos.web.util.SQLUtil.getNextValue(SQLUtil.java:207) ………….. Caused by: java.sql.SQLException: User does not have access to metadata required to determine stored procedure parameter types. If rights can not be granted, configure connection with “noAccessToProcedureBodies=true” to have driver generate parameters that represent INOUT strings irregardless of actual […]