This document describes an external language stored procedure framework for MySQL. It allows defining stored procedures using external languages like Java, Perl, and XML-RPC. The framework makes minor changes to MySQL's parser and stored procedure engine to support external languages while keeping most of the existing architecture. It also describes how dynamic SQL and result sets are supported through this framework.