Error code

MySQL 1305

MYSQL1305
Database Error Code· An error code returned by a database server such as PostgreSQL or MySQL.

What it means

Procedure or function does not exist — the named routine is missing.

How to fix it

  1. Verify the routine exists with SHOW PROCEDURE STATUS LIKE '<name>' or SHOW FUNCTION STATUS LIKE '<name>'.
  2. Create the missing routine with CREATE PROCEDURE or CREATE FUNCTION.
  3. Ensure the connection's default database matches the schema where the routine was defined.

Not affiliated with MySQL. Answer summarized from the manufacturer's manual linked above; consult that source for the authoritative procedure.