Home > Database > Mysql Tutorial > What is the use of mysql command in Linux?

What is the use of mysql command in Linux?

WBOY
Release: 2023-05-27 20:42:42
forward
1295 people have browsed it

Linux common commandsmysql command is a client tool for the MySQL database server. It works in the command line terminal to complete operations on the remote MySQL database server.

What is the use of mysql command in Linux?

mysql

MySQL Server Client Tool

Syntax

 mysql(选项)(参数)
Copy after login

Options

 -h:MySQL服务器的ip地址或主机名; -u:连接MySQL服务器的用户名; -e:执行mysql内部命令; -p:连接MySQL服务器的密码。
Copy after login

Parameters

Database: Specify the database to be opened automatically after connecting to the server.

The above is the detailed content of What is the use of mysql command in Linux?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yisu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template