How can we see the list, along with other information, stored procedures in a particular MySQL database?


We can see only the list of stored procedures in a particular MySQL database by the following query −

mysql> SHOW PROCEDURE STATUS WHERE db = 'query'\G
*************************** 1. row ***************************
                  Db: query
                Name: allrecords
                Type: PROCEDURE
             Definer: root@localhost
            Modified: 2017-11-11 09:56:11
             Created: 2017-11-11 09:56:11
       Security_type: DEFINER
             Comment:
character_set_client: cp850
collation_connection: cp850_general_ci
  Database Collation: latin1_swedish_ci
1 row in set (0.01 sec)

Updated on: 22-Jun-2020

76 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements