当前位置:网站首页>linux下修改mysql端口号
linux下修改mysql端口号
2022-06-28 07:11:00 【多汁多味】
1.登录mysql
mysql -u root -p2.查看当前端口号
show global variables like 'port'; 
3.修改端口
vim /etc/my.cnf4. 增加或修改端口参数,然后保存退出
port=3308 
5.重启mysql
service mysqld restart6.查看mysql状态
systemctl status mysqld
7.阿里云上安全组规则开发 3308端口
边栏推荐
- From the beginning of redis learning to take-off, this article is all for you
- [rust daily] published on rust 1.43.0 on April 23, 2020
- js正则表达式系统讲解(全面的总结)
- Rn7302 three-phase electric quantity detection (based on STM32 single chip microcomputer)
- [produced by Xinghai] operation and maintenance inspection collection
- C language tutorial
- 【Rust翻譯】從頭實現Rust异步執行器
- 自律挑战30天
- 小程序页面设置100%高度还是留白怎么办?
- 7-1 懂的都懂
猜你喜欢

C语言教程大全

Jetpack - defects of livedata component and Countermeasures

Evolution of vivo push platform architecture

hack the box:RouterSpace题解

The practice of traffic and data isolation in vivo Reviews
面经---测试工程师web端自动化---大厂面试题

Comprehensive analysis of real enterprise software testing process

Principle and practice of bytecode reference detection

Using interceptor and cache to complete interface anti brushing operation

【C语言】详解 C 语言获取数组长度
随机推荐
全方位透析真实企业软件测试流程
Detailed explanation of collection class methods____ (4) Judgment and assignment, etc
[C#][转载]furion框架地址和教程地址
BACnet/IP網關如何采集樓宇集中控制系統數據
【Rust日报】 2020-04-23 Rust 1.43.0 发布
微信小程序编译页面空白bug的原因
剑指offer II 091.粉刷房子
Comment la passerelle BACnet / IP recueille - t - elle les données du système central de contrôle des bâtiments?
[digital statistics DP] counting problem
Rn7302 three-phase electric quantity detection (based on STM32 single chip microcomputer)
CMAKE小知识
Pfizer's new Guankou medicine has entered the Chinese market, and the listing of relevant products of domestic pharmaceutical enterprises is just around the corner
Techo Day 腾讯技术开放日,6月28日线上等你!
redis的入门学习到起飞,就这一篇搞定
Is it safe to open a stock trading account on your mobile phone?
[rust daily] May 24, 2020 rush, rocket, Mun, caspin
7-2 芬兰木棋 结构体排序
Puge -- understanding of getordefault() method
小程序页面设置100%高度还是留白怎么办?
【Rust日报】2020-05-24 Rash, Rocket, Mun, Casbin