Documentation Home
MySQL Internals Manual


MySQL Internals Manual  /  ...  /  The client Directory

A.1.2 The client Directory

Client library.

The client library includes mysql.cc (the source of the mysql executable) and other utilities. Most of the utilities are mentioned in the MySQL Reference Manual. Generally these are standalone C programs which one runs in "client mode", that is, they call the server.

The C program files in the directory are:

  • get_password.c --- ask for a password from the console

  • mysql.cc --- "The MySQL command tool"

  • mysqladmin.cc --- maintenance of MySQL databases

  • mysqlcheck.c --- check all databases, check connect, etc.

  • mysqldump.c --- dump table's contents as SQL statements, suitable to backup a MySQL database

  • mysqlimport.c --- import text files in different formats into tables

  • mysqlmanager-pwgen.c --- pwgen stands for "password generation" (not currently maintained)

  • mysqlmanagerc.c --- entry point for mysql manager (not currently maintained)

  • mysqlshow.c --- show databases, tables or columns

  • mysqltest.c --- test program used by the mysql-test suite, mysql-test-run


User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.