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

MySQLMySQLi 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)
raja
Published on 21-Feb-2018 12:08:42
Advertisements