当前位置:网站首页>Two methods of MySQL database login and logout
Two methods of MySQL database login and logout
2022-06-27 18:45:00 【Ink Sky Wheel】
Click... Under the title Ask a thousand questions and know a thousand things , Read every day after watching IT publication
MySQL After the database is started , Our next operation is to log in and use MySQL database , So how do we log in and out MySQL Database ?
Next, Qianqian little sister sorted out two kinds of login and logout for everyone MySQL Database method , The details are as follows :
One 、 Directly use the command to perform login and logout
1、 open DOS Command line window , Input “mysql –uroot -p” command , Enter the password again , Login successfully MySQL database , As shown in the figure :

2、 Input “show databases;” Command to view all the libraries in the database , As shown in the figure :

3、 Input “exit;” Command to exit MySQL database , As shown in the figure :

Two 、 Use Command Line Client Login and logout MySQL database
1、 single click “ Start — Program —MySQL— Click on “MySQL Server 5.5”, As shown in the figure :

2、 single click MySQL 5.5 Command Line Client, As shown in the figure .

3、 Input MySQL Login password for , Then press enter , Login succeeded at this time MySQL database , As shown in the figure .

4、 sign out MySQL The way and use of database DOS The command line exits in the same way .
( Input “exit;” Command to exit MySQL database )

Compare the two methods DOS Command line window login and exit MySQL More cumbersome , While using Command Line Client Users can log in more easily MySQL database .
You can choose two types of login according to your preferences MySQL One of the methods of database , But Qianqian suggested that you master both methods .
If you are learning MySQL There are other problems in the database process , Welcome to leave a message below. We will reply to you as soon as possible , Qianwen Qianzhi grows up with you .
Programming industry recommended good books 《MySQL From entry to mastery 》:

MySQL The industry recommends self-study good books
( Click on the bottom left “ Read the original ” Learn more )
Previous recommendation

边栏推荐
- Explain in detail the differences between opentsdb and tdengine in system functions
- 建立自己的网站(10)
- Oracle的NUMBER长度超过19之后,实体使用Long映射,导致出现问题是为什么?
- MFS distributed file system
- 银河麒麟V10系统激活
- PostgreSQL数据库WAL——资源管理器RMGR
- The power of code refactoring: how to measure the success of refactoring
- CDH cluster installation
- 中国工业软件市场研究报告出炉,力控SCADA、MES丰富国产工业软件生态
- Tdengine connector goes online Google Data Studio store
猜你喜欢

Part 32 supplement (32) string of ECMAScript

Hospital reservation and registration system - system structure
![[leetcode] 2. Add two numbers (user-defined listnode), medium](/img/27/1e7ce0e08d7428f0f594a3477e35df.jpg)
[leetcode] 2. Add two numbers (user-defined listnode), medium

Application of tdengine in monitoring of CNC machine tools

Tdengine connector goes online Google Data Studio store

Anfulai embedded weekly report (issue 252): February 7, 2022 to February 13, 2022

Software testing learning - dark horse programmer, software testing learning outline

Computing trends in three times of machine learning

Lvgl8.x migrating to stm32f4

Set up your own website (10)
随机推荐
[leetcode] 2. Add two numbers (user-defined listnode), medium
How to rewrite tdengine code from 0 to 1 with vscode in "technical class"
MFS分布式文件系统
Overview of Inspur Yunxi database executor
TP5 restrict access frequency
Contest3182 - the 39th individual training match for 2021 freshmen_ C: [string] ISBN number
Uploading multiple attachments from canvas apps to SharePoint
All you want to know about large screen visualization is here
Bit. Store: long bear market, stable stacking products may become the main theme
Anfulai embedded weekly report (issue 252): February 7, 2022 to February 13, 2022
Study on heritability and field experiment design
[elt.zip] openharmony paper Club - witness file compression system erofs
InfluxDB集群功能不再开源,TDengine集群功能更胜一筹
[UVM foundation] UVM_ Is in agent_ Active variable definition
Application of scaleflux CSD 2000 in Ctrip
GAC Mitsubishi's new outlander made its first domestic debut in the year, and its product strength was fully renewed
新产品新人事新服务,英菲尼迪继续深耕中国未来可期!
How to write a resume?
Teach you to use elastic search: run the first hello world search command
How to turn off the server terminal name of vscode