My Oracle Support Banner

MySQL Create Function Failed With Error 1548 (Doc ID 1572279.1)

Last updated on MARCH 29, 2020

Applies to:

MySQL Server - Version 5.5 and later
Information in this document applies to any platform.

Symptoms

Tried to create function but it errors out:

CREATE FUNCTION `f1` (`p` int) RETURNS INT
BEGIN
RETURN `p`+1;
END

but got failed with:

ERROR 1548 (HY000): Cannot load from mysql.proc. The table is probably corrupted

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.