1

I am trying to figure out the best way to determine if a mysql database uses stored procs or not. It's not a home grown database... open source stuff. I found another post here: Find all MySQL Stored Procedure calls?

Based on that post, I've tried the following:

mysql> SELECT * FROM information_schema.ROUTINES
    -> ; Empty set (0.00 sec)

mysql>

Can I safely assume then that this database has no stored procs? Thanks!

1
  • 1
    Unless you are 'root' I think you can only assume that there are no procs that you have access to. Commented Apr 3, 2013 at 12:54

1 Answer 1

1

With the Query you posted, you are correct in making that assumption. I tested it on a local database with no Stored Procs and got the same result. I created a test stored proc, re-ran that same query and got a single result (with the proc I created).

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.