I\'m trying to learn how to use MySQL stored procedures. MySQL accepted my procedure:
CREATE PROCEDURE SimpleProc()
BEGIN
SELECT * FROM myTable;
EN
Yes, there seems to be a bug in some older versions of phpMyAdmin, which can cause the 1312 error you are getting. This can happen when calling stored procedures that contain SELECT
statements from phpMyAdmin.
You may want to check out the following posts for further reading:
This bug effects only phpMyAdmin, and you would still be able to call the stored procedure from anywhere else.