00001 #ifndef INCLUDES_MYSQL_INSTANCE_MANAGER_EXIT_CODES_H 00002 #define INCLUDES_MYSQL_INSTANCE_MANAGER_EXIT_CODES_H 00003 00004 /* 00005 Copyright (C) 2006 MySQL AB 00006 00007 This program is free software; you can redistribute it and/or modify 00008 it under the terms of the GNU General Public License as published by 00009 the Free Software Foundation; either version 2 of the License, or 00010 (at your option) any later version. 00011 00012 This program is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with this program; if not, write to the Free Software 00019 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00020 */ 00021 00022 /* 00023 This file contains a list of exit codes, which are used when Instance 00024 Manager is working in user-management mode. 00025 */ 00026 00027 const int ERR_OK = 0; 00028 00029 const int ERR_OUT_OF_MEMORY = 1; 00030 const int ERR_INVALID_USAGE = 2; 00031 const int ERR_INTERNAL_ERROR = 3; 00032 const int ERR_IO_ERROR = 4; 00033 const int ERR_PASSWORD_FILE_CORRUPTED = 5; 00034 const int ERR_PASSWORD_FILE_DOES_NOT_EXIST = 6; 00035 00036 const int ERR_CAN_NOT_READ_USER_NAME = 10; 00037 const int ERR_CAN_NOT_READ_PASSWORD = 11; 00038 const int ERR_USER_ALREADY_EXISTS = 12; 00039 const int ERR_USER_NOT_FOUND = 13; 00040 00041 #endif // INCLUDES_MYSQL_INSTANCE_MANAGER_EXIT_CODES_H
1.4.7

