Where are stored procedures stored?
In the proc table of the mysql system database. However, you should not access the tables in the system database directly. Instead, use SHOW CREATE FUNCTION to obtain information about stored functions, and SHOW CREATE PROCEDURE to obtain information about stored procedures. See Section 13.5.4.8, “SHOW CREATE PROCEDURE and SHOW CREATE FUNCTION Syntax”, for more information about these statements. You can also query the ROUTINES table in the INFORMATION_SCHEMA database — see Section 22.14, “The INFORMATION_SCHEMA ROUTINES Table”, for information about this table.
In the proc table of the mysql system database. However, you should not access the tables in the system database directly. Instead, use SHOW CREATE FUNCTION to obtain information about stored functions, and SHOW CREATE PROCEDURE to obtain information about stored procedures. See Section 12.5.5.11, “SHOW CREATE PROCEDURE Syntax”, for more information about these statements. You can also query the ROUTINES table in the INFORMATION_SCHEMA database — see Section 20.14, “The INFORMATION_SCHEMA ROUTINES Table”, for information about this table.
In the proc table of the mysql system database. However, you should not access the tables in the system database directly. Instead, use SHOW CREATE FUNCTION to obtain information about stored functions, and SHOW CREATE PROCEDURE to obtain information about stored procedures. See Section 12.5.4.5, “SHOW CREATE PROCEDURE and SHOW CREATE FUNCTION Syntax”, for more information about these statements. You can also query the ROUTINES table in the INFORMATION_SCHEMA database — see Section 22.14, “The INFORMATION_SCHEMA ROUTINES Table”, for information about this table.
In the proc table of the mysql system database. However, you should not access the tables in the system database directly. Instead, use SHOW CREATE FUNCTION to obtain information about stored functions, and SHOW CREATE PROCEDURE to obtain information about stored procedures. See Section 12.5.4.8, “SHOW CREATE PROCEDURE and SHOW CREATE FUNCTION Syntax”, for more information about these statements. You can also query the ROUTINES table in the INFORMATION_SCHEMA database — see Section 23.14, “The INFORMATION_SCHEMA ROUTINES Table”, for information about this table.