要查看MySQL存储过程,可以使用以下命令:
1. 查看所有存储过程:
```
SHOW PROCEDURE STATUS;
```
2. 查看特定存储过程的定义:
```
SHOW CREATE PROCEDURE procedure_name;
```
3. 查看存储过程的参数:
```
SHOW PROCEDURE STATUS WHERE Name = 'procedure_name';
```
4. 查看存储过程的源代码:
```
SELECT ROUTINE_DEFINITION
FROM INFORMATION_SCHEMA.ROUTINES
WHERE ROUTINE_NAME = 'procedure_name' AND ROUTINE_TYPE = 'PROCEDURE';
```