当前位置:网站首页>MySQL startup error "bind on tcp/ip port: address already in use"
MySQL startup error "bind on tcp/ip port: address already in use"
2022-06-11 08:58:00 【Jerry00713】
Initiate error reporting “Bind on TCP/IP port: Address already in use”
Problem description :
mysql Boot failure , see err journal
# tail -f /database/umc/data/umc.err
141106 10:37:14 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
141106 10:37:14 [ERROR] Do you already have another mysqld server running on port: 3306 ? Cause analysis :
port 3306 occupied
Use command :
ps -aux | grep mysql
Found that there was no 3306 Port of mysql process .
Use command :netstat –apn
Check all process and port usage . Find the following list of processes , The last column is PID/Program name
# netstat -apn | grep 3306
tcp 0 0 ::ffff:192.168.65.211:3306 ::ffff:192.168.65.211:3306 ESTABLISHED 18148/java Find out 3306 The port is PID by 18148 Of Java Process occupation .
Further use of the command :ps -aux | grep java, Or directly :ps -aux | grep pid see
It's clear that 3306 The port is occupied by which program ! Then judge whether to use KILL Order to kill !
# start-up mysql
Observe
# netstat -anp | grep 3306
tcp 0 0 :::3306 :::* LISTEN 16511/mysqld
tcp 0 0 ::ffff:192.168.65.211:3306 ::ffff:192.168.65.211:4840 ESTABLISHED 16511/mysqld
tcp 0 0 ::ffff:192.168.65.211:3306 ::ffff:192.168.65.211:4841 ESTABLISHED 16511/mysqld
tcp 0 0 ::ffff:192.168.65.211:3306 ::ffff:192.168.65.211:4842 ESTABLISHED 16511/mysqld
tcp 0 0 ::ffff:192.168.65.211:3306 ::ffff:192.168.65.211:4837 ESTABLISHED 16511/mysqld
tcp 0 0 ::ffff:192.168.65.211:3306 ::ffff:192.168.65.211:4838 ESTABLISHED 16511/mysqld
tcp 0 0 ::ffff:192.168.65.211:4837 ::ffff:192.168.65.211:3306 ESTABLISHED 17632/java
tcp 0 0 ::ffff:192.168.65.211:4838 ::ffff:192.168.65.211:3306 ESTABLISHED 17632/java
tcp 0 0 ::ffff:192.168.65.211:4840 ::ffff:192.168.65.211:3306 ESTABLISHED 17632/java
tcp 0 0 ::ffff:192.168.65.211:4841 ::ffff:192.168.65.211:3306 ESTABLISHED 17632/java
tcp 0 0 ::ffff:192.168.65.211:4842 ::ffff:192.168.65.211:3306 ESTABLISHED 17632/java 边栏推荐
- win10家庭版如何连接远程桌面
- PHP uploading large files for more than 40 seconds server 500
- AS 3744.1标准中提及ISO8191测试,两者测试一样吗?
- SAP ODATA 开发教程
- Which Apple devices support this system update? See if your old apple device supports the latest system
- 2130. 链表最大孪生和
- 九九乘法表
- 876. intermediate node of linked list
- Intelligent control theory question bank
- CMVSS TSD No. 302与49 CFR 571.302测试方法是否一样
猜你喜欢

Sword finger offer 51 Reverse pair in array

leetcode - 518. Change II

Mazhiqiang: research progress and application of speech recognition technology -- RTC dev Meetup

Port occupancy problem, 10000 ports

Matlab learning 8- linear and nonlinear sharpening filtering and nonlinear smoothing filtering of image processing

矩阵求逆操作的复杂度分析(逆矩阵的复杂度分析)

智能控制理论小题库

Create a nodejs based background service using express+mysql

哪些Apple设备支持这次系统更新?来看你的旧Apple设备支持最新系统吗

kubelet Error getting node 问题求助
随机推荐
EN 45545 R24氧指数测试方法解析
2022 Niuke winter vacation 3
Analysis of EN 45545 R24 oxygen index test method
c的printf相关
PHP解决中文显示乱码
844. 比较含退格的字符串
Sword finger offer 18 Delete the node of the linked list
How to apply for BS 476-7 sample for display? Is it the same as the display
Iso8191 test is mentioned in as 3744.1. Are the two tests the same?
哪些Apple设备支持这次系统更新?来看你的旧Apple设备支持最新系统吗
Display DIN 4102-1 Class B1 fire test requirements
复制的代码格式混乱怎么办?
光伏板怎么申请ASTM E108阻燃测试?
剑指 Offer 18. 删除链表的节点
欧洲家具EN 597-1 跟EN 597-2两个阻燃标准一样吗?
完整的ES6面试题
Sword finger offer 10- ii Frog jumping on steps
En45545-2 R26 vertical combustion test introduction
C language printing heart
Which Apple devices support this system update? See if your old apple device supports the latest system