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

边栏推荐
- Seata中 SelectForUpdateExecutor 可以先获取全局锁,再执行 sql吗?
- 时序数据库(Time Series Database)的存储引擎要想做到极致,还得自研
- 数据同步工具 DataX 已经正式支持读写 TDengine
- About binary
- VSCode 建议你启用 gopls,它到底是个什么东东?
- 手把手教你在Windows 10安装Oracle 19c(详细图文附踩坑指南)
- Common optimization techniques for Web Performance
- 中国工业软件市场研究报告出炉,力控SCADA、MES丰富国产工业软件生态
- How much room does Migu video have for development without relying on sports events?
- ansible环境安装及数据恢复
猜你喜欢

WOx WPM installing the Youdao plug-in

On array-_-

TP5 restrict access frequency

VSCode 建议你启用 gopls,它到底是个什么东东?

DOM object in JS

Shardingsphere & Atlas & MYCAT comparison

Hospital reservation and registration system - system structure

Advanced learning of MySQL -- Application -- Optimization of other SQL statements

All you want to know about large screen visualization is here

MFS分布式文件系统
随机推荐
[UVM foundation] can only be used in build_ Research on executing instantiation action in phase
Teach you to use elastic search: run the first hello world search command
SQL update批量更新
Explain the distributed computing of Apache skywalking OAP in detail
ansible环境安装及数据恢复
On array-_-
2022 Liaoning's latest eight members (Safety Officer) simulated test question bank and answers
TDengine在数控机床监控中的应用
DOM object in JS
PostgreSQL数据库WAL——资源管理器RMGR
如何查看 MySQL 表的索引信息?
[elt.zip] openharmony paper Club - witness file compression system erofs
[qt learning notes]qt uses MFC compilation to generate DLL libraries. The problem that DLL cannot be loaded occurs on computers without programming environment
时序数据库(Time Series Database)的存储引擎要想做到极致,还得自研
JXL export Excel
时间序列数据的特点
MFS distributed file system
New products, new personnel and new services, Infiniti will continue to plough into China's future!
Wanzhou gold industry: what are the differences between gold t+d investment and other investments?
Market status and development prospect forecast of global triisopropyl chlorosilane industry in 2022