Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Which Location Are Mysql Compiled Procedures Stored?

How can I get compiled Mysql stored procedures from their physical location?

like image 426
Palani Avatar asked Dec 22 '09 12:12

Palani


1 Answers

In the database mysql there's a table proc which seems to hold all the data for a stored procedure.
So the physical files should be <datadir>/mysql/proc.MYI and <datadir>/mysql/proc.MYD.

edit: But maybe you're simply looking for SHOW CREATE PROCEDURE?

like image 177
VolkerK Avatar answered Oct 13 '22 10:10

VolkerK