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

Cmd's method of viewing mysql

2025-04-18 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 cmd to view mysql, the article is very detailed, has a certain reference value, interested friends must read it!

Cmd's way to view mysql is: first enter the database through cmd; then execute the command "show databases;" to display all databases; then select the database through the command "use xxx;"; and finally execute the command "select * from tbl_dept;" to display table data.

Recommended: "mysql Video tutorial"

1. Cmd enters the database, mysql-u root-p enter the password

2. Show all databases. Show databases

3. Select database, use xxx

4. Displays the table. Show tables

5. Direct query statement to display table data. Select * from tbl_dept

These are all the contents of cmd's method of viewing mysql. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow 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

Database

Wechat

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

12
Report