Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to view the version of the mysql connection

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the method of viewing the connected version of mysql, which has certain reference value and can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.

The way to view the connection version of mysql: 1, connect MySQL directly on the command line, code is [mysql-uroot-p123456]; 2, use SQL statement directly to view, code is [select version () from dual;].

How to view the version of the mysql connection:

Method 1:

Connect MySQL directly on the command line

Mysql-uroot-p123456

You can see that the printed log contains version information [5.7.17]

The second method:

Is to use the client tool to connect, the editor here uses dbvis

Clicking on the connection will print out the MySQL server version information, which is more or less the same as the first method.

The third method:

After connecting to MySQL, you can enter status or view the version information, as shown in the following figure

Enter\ s to achieve the same effect as in the previous step.

The last method:

In fact, it is a very common method, which is to use SQL statements directly to see the

Select version () from dual

Thank you for reading this article carefully. I hope the editor will share the methods and contents of viewing the mysql connection version to help everyone. At the same time, I also hope that you will support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report