Stored procedures are implemented in MySQL 5. They are not available for previous (3.23, 4.0, 4.1) versions.