当前位置:网站首页>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

边栏推荐
- [UVM foundation] build of UVM_ Phase execution sequence
- 电子智慧套装教程
- 写在eclipse里面,与数据库连接查询之后的问题
- 数据同步工具 DataX 已经正式支持读写 TDengine
- If the storage engine of time series database wants to be the best, it has to do its own research
- On array-_-
- About redis master-slave replication
- seata性能可以通过什么方式提高?比如增加数据库的计算节点?
- SQL update batch update
- 阅文、中文在线等网文平台如何布局数字藏品?未来是否会推出“Read/Write-to-Earn”产品?
猜你喜欢

Bit.Store:熊市漫漫,稳定Staking产品或成主旋律

All you want to know about large screen visualization is here

开源之夏 2022 | openGauss 项目中选公布

2022 Liaoning's latest eight members (Safety Officer) simulated test question bank and answers

Advanced learning of MySQL -- Application -- view, stored procedure, trigger

Optimal binary search tree

Analysis of shardingsphere core source code

Contest3182 - the 39th individual training match for 2021 freshmen_ F: ss

新产品新人事新服务,英菲尼迪继续深耕中国未来可期!

使用 WebDAV 替代445端口文件共享
随机推荐
Mise à jour SQL mise à jour par lots
Shardingsphere sharding proxy actual combat scenario
Redis系列2:数据持久化提高可用性
Wanzhou gold industry: a common technical term in gold t+d transaction?
Can the selectforupdateexecution in Seata obtain the global lock before executing SQL?
How to turn off the server terminal name of vscode
Wanzhou gold industry: what knowledge points do you need to master to invest in precious metals?
Overview of Inspur Yunxi database executor
Push NFT out of the regulatory dilemma, and BSN launched NFT supporting infrastructure network
Win10 LTSC 2021 wsappx CPU 占用高
How to use the low code platform of the Internet of things for picture management?
Oracle TRUNC function processing date format
(POJ - 1847) tram (shortest circuit)
Oracle的NUMBER长度超过19之后,实体使用Long映射,导致出现问题是为什么?
开源之夏 2022 | openGauss 项目中选公布
Openssf security plan: SBOM will drive software supply chain security
(5) SPI application design and simulation verification 2 - design code implementation
Space calculation of information and innovation industry in 2022
Advanced learning of MySQL -- Application -- Optimization of other SQL statements
Hash encryption