MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mysql_config_editor.cc File Reference

MySQL Configuration Utility. More...

#include "my_config.h"
#include <welcome_copyright_notice.h>
#include <signal.h>
#include <my_dir.h>
#include <my_rnd.h>
#include "my_aes.h"
#include "client_priv.h"
#include "my_default.h"
#include "my_default_priv.h"
Include dependency graph for mysql_config_editor.cc:

Go to the source code of this file.

Classes

struct  my_command_data

Macros

#define MYSQL_CONFIG_EDITOR_VERSION   "1.0"
#define MY_LINE_MAX   4096
#define MAX_COMMAND_LIMIT   100
#define MY_LOGIN_HEADER_LEN   (4 + LOGIN_KEY_LEN)

Enumerations

enum  commands {
  MY_CONFIG_SET, MY_CONFIG_REMOVE, MY_CONFIG_PRINT, MY_CONFIG_RESET,
  MY_CONFIG_HELP, ADMIN_ERROR, ADMIN_CREATE, ADMIN_DROP,
  ADMIN_SHUTDOWN, ADMIN_RELOAD, ADMIN_REFRESH, ADMIN_VER,
  ADMIN_PROCESSLIST, ADMIN_STATUS, ADMIN_KILL, ADMIN_DEBUG,
  ADMIN_VARIABLES, ADMIN_FLUSH_LOGS, ADMIN_FLUSH_HOSTS, ADMIN_FLUSH_TABLES,
  ADMIN_PASSWORD, ADMIN_PING, ADMIN_EXTENDED_STATUS, ADMIN_FLUSH_STATUS,
  ADMIN_FLUSH_PRIVILEGES, ADMIN_START_SLAVE, ADMIN_STOP_SLAVE, ADMIN_FLUSH_THREADS,
  ADMIN_OLD_PASSWORD
}

Functions

void generate_login_key (void)
my_bool get_one_option (int optid, const struct my_option *opt, char *argument)
my_bool my_program_get_one_option (int optid, const struct my_option *opt __attribute__((unused)), char *argument)
my_bool my_set_command_get_one_option (int optid, const struct my_option *opt __attribute__((unused)), char *argument)
my_bool my_remove_command_get_one_option (int optid, const struct my_option *opt __attribute__((unused)), char *argument)
my_bool my_print_command_get_one_option (int optid, const struct my_option *opt __attribute__((unused)), char *argument)
my_bool my_reset_command_get_one_option (int optid, const struct my_option *opt __attribute__((unused)), char *argument)
int main (int argc, char *argv[])

Detailed Description

MySQL Configuration Utility.

Definition in file mysql_config_editor.cc.

Function Documentation

void generate_login_key ( )

Algorithm to generate key.

Definition at line 1381 of file mysql_config_editor.cc.