In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-13 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
This article uses easy-to-understand examples to introduce the method of viewing the database under the linux environment. The content of the article is compact step by step. I hope you can get something according to this article.
First enter the following command:
Mysql-uroot-p
Enter the root password to enter the mysql.
Check the steps for details:
1. Display the database
Show databases
2. Select a database
Use database name
3. Display the tables in the database
Show tables
4. Display the structure of the data table
Describe table name
5. Display the records in the table
SELECT * FROM table name
6. Build a database
Create databse library name
After reading this article, have you learned how to view the database in linux environment? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel. Thank you for reading.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.