1305: PROCEDURE does not exist
MySQLWhat does it mean?
The called stored procedure or function was not found in the specified database. No routine with this name is defined.
Why does it happen?
A misspelled procedure name; the procedure in the wrong database or never created; the wrong schema selected with USE; no EXECUTE privilege to call the procedure; case sensitivity.
How to fix it
Verify that the procedure exists and in which schema: SHOW PROCEDURE STATUS WHERE Db = 'mydb'; Select the right database: USE mydb; or call it fully qualified: CALL mydb.my_procedure(...); Grant the required privileges: GRANT EXECUTE ON PROCEDURE mydb.my_procedure TO app_user;
More from this engine
- 1051Unknown table 'x'
- 1091Can't DROP 'x'; check that column/key exists
- 1093You can't specify target table 'x' for update in FROM clause
- 1227Access denied; you need (at least one of) the PRIVILEGE
- 3730Cannot drop table referenced by a foreign key constraint
- 2013Lost connection to MySQL server during query
- 1153Got a packet bigger than 'max_allowed_packet' bytes