How do I view my stored procedures in phpMyAdmin?

前端 未结 11 559
你的背包
你的背包 2020-12-12 15:57

I created a stored procedure in phpMyAdmin

CREATE PROCEDURE Sample()
SELECT * FROM feedback

Where could I view this this procedure? If it\'

11条回答
  •  生来不讨喜
    2020-12-12 16:41

    View stored procedures in phpmyadmin:

    Query:

    SELECT routine_definition
    FROM information_schema.routines
    WHERE 
    routine_name = 'procedure_name' AND routine_schema = 'databasename';
    

    Here's how to get there in phpmyadmin.

    The routines option is available in phpmyadmin. The link is not visible in PHPmyadmin until you have at least one stored procedure. See the above image and click the routines link under structure tab.

提交回复
热议问题