Chapter 68. mysqlcc, The MySQL Control Center

mysqlcc, the MySQL Control Center, is a platform-independent client that provides a graphical user interface (GUI) to the MySQL database server. It supports interactive use, including syntax highlighting and tab-completion. It provides database and table management, and allows server administration.

Currently, mysqlcc runs on Windows and Linux platforms.

mysqlcc is not included with MySQL distributions, but can be downloaded separately at http://www.mysql.com/downloads/.

mysqlcc supports the following options:

-?, --help Display this help and exit.
-b, --blocking_queries Use blocking queries.
-C, --compress Use compression in server/client protocol.
-c, --connection_name=name This is a synonym for --server.
-d, --database=... Database to use. This is mainly useful in the my.cnf file.
-H, --history_size=# History size for the query window.
-h, --host=... Connect to the given host.
-p[password], --password[=...] Password to use when connecting to server. If a password is not given on the command-line, you will be prompted for it. Note that if you use the short form -p you can't have a space between the option and the password.
-g, --plugins_path=name Path to the directory where MySQL Control Center plugins are located.
-P port_num, --port=port_num TCP/IP port number to use for connection.
-q, --query Open a query window on startup.
-r, --register Open the 'Register Server' dialog on startup.
-s, --server=name MySQL Control Center connection name.
-S --socket=... Socket file to use for connection.
-y, --syntax Enable syntax highlighting and completion.
-Y, --syntax_file=name Syntax file for completion.
-T, --translations_path=name Path to the directory where MySQL Control Center translations are located.
-u, --user=# User for login if not current user.
-V, --version Output version information and exit.

You can also set the following variables with -O or --set-variable. please note that --set-variable Please note that --set-variable=name=value and -O name=value syntax is deprecated as of MySQL 4.0. Use --name=value instead.

Variable NameDefaultDescription
connect_timeout 0Number of seconds before connection timeout.
local-infile 0Disable (0) or enable (1) LOCAL capability for LOAD DATA INFILE
max_allowed_packet 16777216Max packet length to send to/receive from server
net_buffer_length 16384Buffer for TCP/IP and socket communication
select_limit 1000Automatic limit for SELECT when using --safe-updates
max_join_size 1000000Automatic limit for rows in a join when using --safe-updates