PROCEDURE does not exist.
Hello, I have been searching all over for an answer to this problem and I'm hoping someone here can help me...
I can create a stored procedure using either phpmyadmin or MySQL Workbench. In either case the procedure shows up in the schema.
I can see it when I look at: information_schema ROUTINES with phpmyadmin
when I CALL the procedure in MySQL Workbench the procedure runs and I get a result set.
When I CALL the procedure in phpmyadmin or via php code on the website I get...
"PROCEDURE billiards211.GetHcpAndAvgScrByDivID does not exist"
I can't figure out why I can run the procedure in workbench but not in phpmyadmin or from my php code on the website.
I have attached the SQL for you to look at.
Any help?
EDIT*
Just to be clear... The problem is CALLING any procedure from phpmyadmin or php code. I can see any procedure in the schema and I can call them from workbench. I just cant call them from phpmyadmin or php code without the error.
*