当前位置:网站首页>How to modify MySQL listening IP address
How to modify MySQL listening IP address
2022-07-22 01:38:00 【abka】
Mysql The default is at the local loop address 127.0.0.1 Of 3306 Port listening , Use other IP The address needs to modify the configuration file .
1. edit vi /etc/mysql/mysql.conf.d/mysqld.cnf (ubuntu mysql5.7 Default profile location )
stay [mysqld] Add the following line to the section :
bind-address=0.0.0.0 # All addresses or designated ip Address
perhaps :
bind-address= Appoint ip Address # All addresses or designated ip Address
2. Restart the service
service mysqld restart
3. verification
netstat -tln
vim /etc/sysconfig/iptables // Modify firewall rules
边栏推荐
- (转)postMessage使用方法
- 记一次远程Debug调试Minecraft服务器插件经历
- Dynamic programming knapsack problem -- 01 knapsack
- 使用CompletableFuture实现异步回调
- 点击按钮,丝滑的返回顶部
- Aruba学习笔记03-Web UI --Monitoring面板介绍
- I.MX6U-ALPHA开发板(按键输入实验)
- 【集训DAY9】Rotato【暴力】【思维】
- 氟尼辛肽核酸寡聚体复合物|规活性基团Alkyne炔烃,SH Thiol炔基修饰肽核酸
- Framework - WindowManager (window management service) practice of WMS
猜你喜欢
Major breakthrough! Successful development of the first domestic scientific computing software
【集训DAY9】Maze【线段树】
【集训DAY10】Silly【模拟】【贪心】
Remember a remote debugging experience of minecraft server plug-in
【集训DAY6】Dream【优先队列】【贪心】
[wechat applet] solve the problem that the code upload exceeds the size limit and the applet is subcontracted
Payment system - reconciliation system
【MSP430G2553】图形化开发笔记(1) 配置环境
【安全狗漏洞通告】Apache Spark 命令注入漏洞方案
数据库连接池
随机推荐
js正则案例
05-1. Default member function: copy constructor, assignment operator overload
SSM integrates other components
Markdown 转 PDF API 数据接口
【扩展程序——猫抓1.0.15_网上的视频音频获取神器_安装教程加获取】
Jupyterhub配置Go环境
一文深入浅出理解国产开源木兰许可系列协议
Uniapp, wechat applet input regular verification can only be input as numbers and decimal places
【集训DAY6】Triangle【数学】【暴力】
小程序 奇葩BUG 更新~
支付系统 - 对账系统
Advantages and disadvantages of Tongniu computer room project
七甲川染料CY7标记肽核酸PNA合成方法CY7-PNA
Configuration and use of kaptcha verification code
叠氮化物标记pna肽核酸|亚甲基蓝标记pna肽核酸|酪氨酸修饰肽核酸PNA|Tyr-PNA齐岳bio
动态规划例题——潜水员
Framework API在线查看源码
TinyMCE removes the P tag added by default in the editor line feed
群晖7.1.0万兆网络实测
Easyexcel realizes file upload - batch insert file download