
- Learn MySQL
- MySQL - Home
- MySQL - Introduction
- MySQL - Installation
- MySQL - Administration
- MySQL - PHP Syntax
- MySQL - Connection
- MySQL - Create Database
- MySQL - Drop Database
- MySQL - Select Database
- MySQL - Data Types
- MySQL - Create Tables
- MySQL - Drop Tables
- MySQL - Insert Query
- MySQL - Select Query
- MySQL - Where Clause
- MySQL - Update Query
- MySQL - Delete Query
- MySQL - Like Clause
- MySQL - Sorting Results
- MySQL - Using Join
- MySQL - NULL Values
- MySQL - Regexps
- MySQL - Transactions
- MySQL - Alter Command
- MySQL - Indexes
- MySQL - Temporary Tables
- MySQL - Clone Tables
- MySQL - Database Info
- MySQL - Using Sequences
- MySQL - Handling Duplicates
- MySQL - SQL Injection
- MySQL - Database Export
- MySQL - Database Import
How can we see the list, along with complete information, of stored procedures in a particular MySQL database?
We can use mysql.proc to see the list, along with complete information, of stored procedures in a particular MySQL database by the following query −
mysql> Select * from mysql.proc where db = 'query' AND type = 'PROCEDURE' \G *************************** 1. row *************************** db: query name: allrecords type: PROCEDURE specific_name: allrecords language: SQL sql_data_access: CONTAINS_SQL is_deterministic: NO security_type: DEFINER param_list: returns: body: BEGIN Select * from Student_info; END definer: root@localhost created: 2017-11-11 09:56:11 modified: 2017-11-11 09:56:11 sql_mode: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUB STITUTION comment: character_set_client: cp850 collation_connection: cp850_general_ci db_collation: latin1_swedish_ci body_utf8: BEGIN Select * from Student_info; END 1 row in set (0.00 sec)
- Related Articles
- How can we see the list, along with other information, stored procedures in a particular MySQL database?
- How can we see the list, along with complete information, of stored functions in a particular MySQL database?
- How can we see only the list of stored procedures in a particular MySQL database?
- How can we see the list, along with some other information, of stored functions in a particular MySQL database?
- How can we see the list of stored procedures and stored functions in a particular MySQL database?
- How can we see the list of views stored in a particular MySQL database?
- How can we see only the list of stored functions in a particular MySQL database?
- How can we see the metadata of a view(s) stored in a particular MySQL database?
- How can we see only name and types of the stored routines in a particular MySQL database?
- How can we see the source code of a particular MySQL stored procedure?
- How can we see the source code of a particular MySQL stored function?
- How can we access tables through MySQL stored procedures?
- What is stored procedure and how can we create MySQL stored procedures?
- Create a MySQL stored procedure, which takes the name of the database as its parameter, to list the tables with detailed information in a particular database.
- How can we grant a user to access all stored procedures in MySQL?

Advertisements