当前位置:网站首页>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 边栏推荐
猜你喜欢

(1) AAC opening - lifecycle, livedata, ViewModel and source code analysis skills of core component principles (Reprint)

MySQL核心点笔记

【C语言-函数栈帧】从反汇编的角度,剖析函数调用全流程

Textview text size auto fit and textview margin removal

复制的代码格式混乱怎么办?

The interviewer asked four questions and summed up four experiences

Port occupancy problem, 10000 ports

M1 chip guide: M1, M1 pro, M1 Max and M1 ultra

显示器要申请BS 476-7 怎么送样?跟显示屏一样吗

kubelet Error getting node 问题求助
随机推荐
【新手上路常见问答】关于数据可视化
2130. maximum twin sum of linked list
LiveData 与 StateFlow,我该用哪个?
【C语言-指针进阶】挖掘指针更深一层的知识
硅树脂油漆申请美国标准UL 790 Class A 合适吗?
leetcode - 230. The k-th smallest element in a binary search tree
领导让我重写测试代码,我也要照办嘛?
typescript高阶特性一 —— 合并类型(&)
1721. exchange nodes in the linked list
SAP ABAP data types and data objects
GCC AVR (ATMEL studio+ AVR studio) how to define the structure array in the program memory (flash) space and read it
Sword finger offer 21 Adjust array order so that odd numbers precede even numbers
What software is required to process raw format images?
Which Apple devices support this system update? See if your old apple device supports the latest system
欧洲家具EN 597-1 跟EN 597-2两个阻燃标准一样吗?
2、 Rendering camera data
M1 chip guide: M1, M1 pro, M1 Max and M1 ultra
SAP ODATA 开发教程
Are the test methods of CMVSS TSD No. 302 and 49 CFR 571.302 the same
窗帘做EN 1101易燃性测试过程是怎么样的?