Question : how to debug a stored procedure in mysql

Hi

Please could someoen advise me on how i can debug stored procedures in mysql. I'm not a database person but whenever i've used sql server you can step though an SP  line by line. Is there anything like this in mysql. At the moment i am simply running the procedure on the command line and debugging using select statements.

Also, when i do run my SP on the command line i am getting a message saying i have 31 warnings. How do i see what these warnings are?

thanks
andrea

Answer : how to debug a stored procedure in mysql

I don't think there's a better way to do it. The only other thing I would do would be to create a `debug_log` table and write debug log straight to it from the procedure...
Random Solutions  
 
programming4us programming4us