当前位置:网站首页>Modifying MySQL port number under Linux
Modifying MySQL port number under Linux
2022-06-28 07:14:00 【Juicy and tasty】
1. Sign in mysql
mysql -u root -p2. View the current port number
show global variables like 'port'; 
3. Modify the port
vim /etc/my.cnf4. Add or modify port parameters , Then save to exit
port=3308 
5. restart mysql
service mysqld restart6. see mysql state
systemctl status mysqld
7. Alibaba cloud security group rule development 3308 port
边栏推荐
- Puge -- three basic sorting, bubbling, selection and quickness
- R language Kolmogorov Smirnov tests whether the two samples follow the same distribution.
- SQL statement optimization steps (1)
- 【Rust日报】2020-05-24 Rash, Rocket, Mun, Casbin
- Compile configuration in file
- Devtools implementation principle and performance analysis practice
- 东方财富上开户是安全的吗
- Libuv framework echo server C source code explanation (TCP part)
- 编译原理期末复习
- R 语言 Hitters 数据分析
猜你喜欢

Practice and exploration of vivo live broadcast application technology

PLC -- 笔记
![[C#][转载]furion框架地址和教程地址](/img/b2/e1c30153c4237188b60e9523b0a5d8.png)
[C#][转载]furion框架地址和教程地址

In idea, the get and set methods may be popular because the Lombok plug-in is not installed

MySQL installation steps - installing MySQL on Linux (3)

A gadget can write crawlers faster

Techo day Tencent technology open day, June 28 online waiting for you!

声网 VQA:将实时互动中未知的视频画质用户主观体验变可知

Construction and exploration of vivo database and storage platform

Hungry for a long time, the brain will enter the "power saving mode"! Your senses are weakened and you can't see clearly
随机推荐
js正则表达式系统讲解(全面的总结)
「杰伦熊」暴跌96.6% 明星带货NFT为何遇冷?
MySQL installation steps - Linux configuration file JDK installation (II)
hack the box:RouterSpace题解
普歌 -- getOrDefault()方法理解
QT -- 通讯协议
JS regular expression system explanation (comprehensive summary)
Libuv framework echo server C source code explanation (TCP part)
LeetCode+ 66 - 70 高精度、二分专题
Hack the box:routerspace
UPC -- expression evaluation
My MVVM open source project "travel epidemic prevention app" has been released
The practice of event driven architecture in vivo content platform
云原生(待更新)
强化学习——格子世界
MySQL installation steps - installing MySQL on Linux (3)
Design and practice of vivo sensitive word matching system
ABAP skill tree
Iphone6plus enters the list of antique products netizen: I'm still using it
剑指offer II 091.粉刷房子