Raspberry Pi_Kor_24.2.4 MySQL Shell 사용 – “mysql” 명령

24.2.4 사용 – “mysql” 명령

24.2.4.1 기본 체계

MySQL Database를 사용하기 위해서는 을 사용한다. 은 간단한 SQL Shell 프로그램으로 자체적으로 database 명령을 입력하고, 편집하는 기능을 가지고 있다.

이 명령은 interactive 방식과 noninteractive 방식으로 사용할 있다. interactive 방식으로 사용될 때는 결과자료가 ASCII-table format으로 표시되고, noninteractive 방식으로 사용되면 처리결과가 tab-separated format으로 표현된다.

Raspberry Pi_Kor_24.2.3 MySQL 관리 도구

24.2.3 MySQL 관리 도구

24.2.3.1 – “mysqladmin” 명령

는 MySQL database 시스템을 전체적으로 관리하는데 사용하는 관리 전용 utility 프로그램이다. 이 명령은 noninteractive 방식으로 사용된다.

이 프로그램이 가 설치되는 컴퓨터에 자동으로 설치된다. 하지만 네트워크상의 다른 컴퓨터에서 MySQL database가 있는 시스템에 원격으로 접속하여 관리작업을 하고자 하면, 해당 원격 컴퓨터의 운영체제에 맞는 프로그램을 download하여 별도로 설치해야 한다.

Raspberry Pi_Eng_24.2.4 Using MySQL Shell – “mysql” command

24.2.4 Using – “mysql” command

24.2.4.1 Basic Framework of

Use to use MySQL database. is a simple SQL Shell program that allows you to enter and edit your own database commands.

This can be used both in interactive manner and in noninteractive manner. When used interactively, the results are displayed in an ASCII-table format, and if used noninteractively, the results are displayed in tab-separated format.

Raspberry Pi_Eng_24.2.3 MySQL Management Tool

24.2.3 MySQL Management Tool

24.2.3.1 – mysqladmin command

is a management-dedicated utility program used to manage the MySQL database system on the whole. This command is used in a noninteractive manner.

This program is automatically installed on the computer where is installed. However, if you want to remotely access a system with a MySQL database from another computer on the network and perform management works, you need to download a appropriate program for the operating system of the remote computer and install it separately.