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 MySQL user name

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

Share

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

This article mainly introduces MySQL user name how to view, the article is very detailed, has a certain reference value, interested friends must read!

MySQL How to view user names:

1. Search cmd in the search box below the Start menu and click to open the cmd window.

2. Connect to MySQL Server

Type the following command and press Enter

mysql -u root -p

3. Prompt for password, enter correct password, and enter mysql command line

4. Enter the following command on the mysql command line:

select user,host from mysql.user;

You can return to the list of all users and view mysql user names

The above is MySQL username how to view all the content, thank you for reading! Hope to share the content to help everyone, more relevant knowledge, welcome to pay attention to the industry information channel!

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

Wechat

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

12
Report