MySQL client and server-side tools

MySQL is usually installed on the server, we can connect the client, then you can do some CRUD operations. Let's divide the server and client to explain MySQL utility set.

MySQL server-side utility

1) mysqld

SQL daemon (ie MySQL server process). After the program must be running, clients can access the database by connecting to server.

2) mysqld_safe

Server startup script. In UNIX and NewWare recommended using mysqld_safe to start mysqld server. mysqld_safe adds some safety, for example, when an error occurs, restart the server and run-time information is written to the error log file.

3) mysql.server

Server startup script. The script for containing a particular level, run a script to start the server, run the system directory. It calls mysqld_safe to start the MySQL server.

4) mysqld_multi

Server startup script that can start or stop multiple servers installed on the system.

5) mysamchk

Used to describe, check, optimize and maintain utility MyISAM tables.

6) mysql.server

Server startup script. MySQL distribution in UNIX include mysql.server script.

7) mysqlbug

MySQL bug report script. It can be used to send a bug report to the MySQL mail system.

8) mysql_install_db

The script creates the MySQL table with the right to grant default permissions. Usually only performed once when you first install MySQL on your system.

MySQL client utilities

1) myisampack

MyISAM compressed table to produce a tool of a smaller read-only table.

2) mysql

Interactive enter SQL statements or executing them from a file via the command-line tool in batch mode.

3) mysqlacceess

Check the access to the host name, user name and script permissions database combination.

4) mysqladmin

Execution of client management operations, such as create or delete databases, reloading the grant tables, the table will be refreshed to the hard disk and re-open the log file. Mysqladmin version can also be used to retrieve the status, progress, and server information.

5) mysqlbinlog

Reads the statement of the tool from the binary log. Include statements executed in the binary log file, the system can be used to help recover from a crash.

6) mysqlcheck

Table check, repair, analyze, and optimize the customer table maintenance program.

7) mysqldump

The MySQL database dump to a file (such as a SQL statement or Tab delimiter text file) of the client.

8) mysqlhotcopy

When the server is running, fast backup tool MyISAM or ISAM tables.

9) mysql import

Use LOAD DATA INFILE text file into the appropriate client.

10) mysqlshow

Display databases, tables, columns, indexes and client-related information.

11) perror

The display system or MySQL error codes mean tool.

Guess you like

Origin www.linuxidc.com/Linux/2019-08/159925.htm