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

The method of opening mysql on the command line

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

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

This article will explain in detail the method of opening mysql on the command line for you. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.

Use the command line to open mysql: 1, enter the bin directory of mysql, and enter [mysql-u USERNAME-pPASSWORD]; 2, if the path of mysql installation is on disk C, enter the command [mysql-h localhost-u].

Open mysql from the command line:

If the path of mysql installation is not on disk C, go to the bin directory of mysql and enter it at the command prompt

"mysql-u USERNAME-pPASSWORD"

If the path of mysql installation is on disk C, enter it directly at the command prompt

"mysql-h localhost-u USERNAME-pPASSWORD" on the command line to open mysql method to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it 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.

Share To

Database

Wechat

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

12
Report