In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article will explain in detail the method of starting mysql by windows. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
The 1.dos window starts mysql:
1. Windows + R enter cmd to start the dos window
Enter:
Net start mysql starts the mysql service
Net stop mysql shuts down the mysql service
2. Enter:
Mysql-hlocalhost-uroot-proot enters the mysql database, where-h represents the server name and localhost represents the local
-u is the database user name, root is the default mysql user name, and-p is the password. If the password is set, you can enter it directly after-p.
Note:
Your mysql is not installed on disk C (sometimes it can not be accessed by mysql when installed on disk C), and mysql cannot be accessed. You need to use the DOS command to enter the bin directory under mysql's installation directory. Take my computer as an example:
Enter disk D: enter
Cd D:\ Tools\ MySQL5.5.25\ bin can only be entered into the bin directory of mysql.
Mysql-hlocalhost-uroot-p123456
3. Enter show databases; to show your database (commands in the mysql database must end with a semicolon ";")
4. Use databases name; select the database to be operated on
5. Show tables; displays the tables in the selected database
6. If you want to exit the mysql database, enter exit;.
two。 Click the mouse to start mysql
1. Right-click "my computer" and select "manage"
2. Select "serve applications", and then select "Services"
3. Find "MySQL" and click "start" on the right.
This is the end of this article on "how windows starts mysql". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.
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.