Documentation Home
MySQL Enterprise Backup 9.1 User's Guide
Related Documentation Download this Manual
PDF (US Ltr) - 1.3Mb
PDF (A4) - 1.3Mb


17.1 Exit codes of MySQL Enterprise Backup

MySQL Enterprise Backup returns one of the following exit codes as it exits an operation. The meaning of each code is explained inTable 17.1, “MySQL Enterprise Backup Exit Codes and Messages” by its associated exit message.

Table 17.1 MySQL Enterprise Backup Exit Codes and Messages

Exit CodeExit Message
0No error
1Unknown Error
2Internal Error
3One of the required files is corrupt
4One of the required files not found
5Corrupt page or header encountered
6Mismatch in config and the value obtained
7Illegal Argument
8One or more of the arguments are unknown
9IO operation failed
10Error allocating memory
11Connection to server failed
12Ongoing operation interrupted by user
13User doesn't have sufficient privileges
14No space left on device
15Image version is not supported by this version of meb
16The value is out of range
17Innodb Error
18Timedout while waiting for resource
19Server returned error while executing sql

Themysqlbackup commandprint-message takes an exit code supplied with the--error-code option and returns the corresponding exit message in thestdout stream. Users can, for example, use a script to catch the exit code returned bymysqlbackup, and then pass it onto theprint-message command to obtain an exit message. See the description forprint-message for details.