Can't execute a MySQL stored procedure from Java
问题 I am connecting to a MySQL (5.08) database running on a linux machine from a web application running in tomcat. I get the following exception when I try to execute a stored procedure: 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