当前位置:网站首页>Login of MySQL [database system]
Login of MySQL [database system]
2022-07-25 14:45:00 【Hua Weiyun】
1. Stop and start of service
MySQL After installation , The server process needs to be started , Otherwise, the client cannot connect to the database .
--- Run as administrator windows Command prompt , Otherwise Access denied :
1.MySQL The service is in a stopped state :
2. start-up MySQL service :
3.MySQL The service is in a started state :
start and stop The following service name should be consistent with the service name specified when configuring environment variables .
2. Login and exit
Format :
give an example :
Landing successful :
There is a warning here , Just change the method of password input :
Exit command :
Be careful :
(1)-p There must be no space between and password , There may or may not be spaces between other parameter names and parameter values . Such as :
(2) It is recommended to enter the password on the next line , Keep it safe .
(3) The client and server are on the same machine , So the input localhost perhaps IP Address 127.0.0.1. meanwhile , Because it is connected to this machine : -hlocalhost You can omit , If the port number has not been modified :-P3306 You can omit it .
Before landing Can pass :
perhaps
Way to obtain MySQL Server Service version information .
After landing adopt
View current version information .
边栏推荐
- I hope some suggestions on SQL optimization can help you who are tortured by SQL like me
- How to make a set of code fit all kinds of screens perfectly?
- 微信公众号正式环境上线部署,第三方公众平台接入
- Realsense ROS installation configuration introduction and problem solving
- thymeleaf设置disabled
- Pytorch training code writing skills, dataloader, Einstein logo
- EDA chip design solution based on AMD epyc server
- Syntax summary of easygui
- Gateway reports an error service_ UNAVAILABLE
- 牛客多校 E G J L
猜你喜欢
随机推荐
【MySQL必知必会】触发器 | 权限管理
spark参数调整调优
IP地址分类,判断一个网段是子网超网
39 简洁版小米侧边栏练习
Heyuan City launched fire safety themed milk tea to boost fire prevention and control in summer
awk从入门到入土(21)awk脚本调试
Gonzalez Digital Image Processing Chapter 1 Introduction
Quickly set up dobbo demo
各种平台dpkg包下载地址(包括arm64)
PS making and loading GIF pictures tutorial
Gameframework making games (II) making UI interface
Paddlenlp之UIE关系抽取模型【高管关系抽取为例】
Deng Qinglin, a technical expert of Alibaba cloud: Best Practices for disaster recovery and remote multi activity across availability zones on cloud
Gson and fastjson
thymeleaf设置disabled
Examples of bio, NiO, AIO
The supply chain collaborative management system, a new "engine" of digitalization in machinery manufacturing industry, helps enterprises' refined management to a new level
06. Neural network like
[eloquence] negotiation persuasion skills and Strategies
27 选择器的分类

















