当前位置:网站首页>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 .
边栏推荐
- Structure size
- Products on Apple's official website can save 600 yuan by buying iPhone 13 Pro max at a discount
- Deng Qinglin, a technical expert of Alibaba cloud: Best Practices for disaster recovery and remote multi activity across availability zones on cloud
- IP地址分类,判断一个网段是子网超网
- 32 chrome调试工具的使用
- Filters get the data in data; Filters use data in data
- Awk from getting started to digging in (23) awk built-in variables argc, argc -- command line parameter transfer
- kibana操作es
- Ssh server rejected password
- 河源市区推出消防安全主题奶茶 助推夏季火灾防控
猜你喜欢

LeetCode-198-打家劫舍

SSM framework integration, simple case

PS making and loading GIF pictures tutorial

变分(Calculus of variations)的概念及运算规则

IP address classification, which determines whether a network segment is a subnet supernetwork

Resource not found: rgbd_launch 解决方案

Browser based split screen reading

微信公众号正式环境上线部署,第三方公众平台接入

006操作符简介

Under the epidemic, the biomedical industry may usher in breakthrough development
随机推荐
43 盒子模型
Educational Codeforces Round 132 (Rated for Div. 2) C,D+AC自动机
IP address classification, which determines whether a network segment is a subnet supernetwork
【cartographer_ros】八: 官方Demo参数配置和效果
easygui使用的语法总结
How to design a high concurrency system?
直播课堂系统05-后台管理系统
37 元素模式(行内元素,块元素,行内块元素)
结构体大小
MySQL 45 talks about | 06 global locks and table locks: Why are there so many obstacles to adding a field to a table?
27 classification of selectors
没错,请求DNS服务器还可以使用UDP协议
Jmeter的随机数函数怎么用
Idea error failed to determine a suitable driver class
基于PaddleOCR开发uni-app离线身份证识别插件
Products on Apple's official website can save 600 yuan by buying iPhone 13 Pro max at a discount
[MySQL must know and know] trigger | permission management
Gson and fastjson
The input input box of H5 page pops up the numeric keypad, which needs to support decimal points
D2. Chopping Carrots (Hard Version) (每日一题)








