1
#ifndef INCLUDES_MYSQL_INSTANCE_MANAGER_EXIT_CODES_H
2
#define INCLUDES_MYSQL_INSTANCE_MANAGER_EXIT_CODES_H
5
Copyright (C) 2006 MySQL AB
7
This program is free software; you can redistribute it and/or modify
8
it under the terms of the GNU General Public License as published by
9
the Free Software Foundation; version 2 of the License.
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
16
You should have received a copy of the GNU General Public License
17
along with this program; if not, write to the Free Software
18
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22
This file contains a list of exit codes, which are used when Instance
23
Manager is working in user-management mode.
28
const int ERR_OUT_OF_MEMORY = 1;
29
const int ERR_INVALID_USAGE = 2;
30
const int ERR_INTERNAL_ERROR = 3;
31
const int ERR_IO_ERROR = 4;
32
const int ERR_PASSWORD_FILE_CORRUPTED = 5;
33
const int ERR_PASSWORD_FILE_DOES_NOT_EXIST = 6;
35
const int ERR_CAN_NOT_READ_USER_NAME = 10;
36
const int ERR_CAN_NOT_READ_PASSWORD = 11;
37
const int ERR_USER_ALREADY_EXISTS = 12;
38
const int ERR_USER_NOT_FOUND = 13;
40
#endif // INCLUDES_MYSQL_INSTANCE_MANAGER_EXIT_CODES_H