In the Chapter 3 “SQL Language Elements” section “Global variables” under the section “Variables,” the data type in the CREATE PROCEDURE statement in the example should be VARCHAR (100):
CREATE PROCEDURE VersionProc ( OUT ver VARCHAR ( 100) ) BEGIN SELECT @@version INTO ver; END