Team LiB
Previous Section Next Section

perror

perror displays error messages for error codes. You can use it to determine the meaning of errors returned by MySQL programs.

% perror 142
MySQL error:  142 = Unknown character set used

Usage

perror [options] [err_code] ...

Standard Options Supported by perror

--help        --silent      --verbose     --version

The --silent option causes only the error message and not the code to be displayed. The default is --verbose, which displays both the code and the message.

--info and -I are synonyms for --help.

    Team LiB
    Previous Section Next Section