I am using a platform (perfectforms) that requires me to use stored procedures for most of my queries, and having never used stored procedures, I can\'t figure out what I\'m
When I execute the following:
DELIMITER //
DROP PROCEDURE IF EXISTS test_db.test_proc//
CREATE PROCEDURE test_db.test_proc() SELECT 'foo'; //
DELIMITER ;
Followed by
CALL test_db.test_proc();
I shows me a result set like:
+-----+
| foo |
+-----+
| foo |
+-----+
I'm using PHP 5.3.1, MySQL 5.1.41 with phpMyAdmin 3.2.4.
Perhaps you just misspelled your procedure name?
Or could there be a problem with your PHP or MySQL installations? (Perhaps a bug. Have you tried updating to the latest versions?)