VPS侦探论坛

 找回密码
 注册
查看: 4902|回复: 1

[Oracle] MySQL数据库重启时出现的问题

[复制链接]
发表于 2016-3-24 17:51:26 | 显示全部楼层 |阅读模式

160324 12:25:02 mysqld_safe mysqld from pid file /usr/local/mysql/var/bogon.pid ended
160324 12:56:21 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
160324 12:56:21 [Note] Plugin 'InnoDB' is disabled.
160324 12:56:21 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
160324 12:56:21 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
160324 12:56:21 [Note] Server socket created on IP: '0.0.0.0'.
160324 12:56:21 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
160324 12:56:21 [ERROR] Do you already have another mysqld server running on port: 3306 ?
160324 12:56:21 [ERROR] Aborting

160324 12:56:21 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete





151117 17:14:21 mysqld_safe mysqld from pid file /usr/local/mysql/var/localhost.pid ended
151117 17:21:11 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
151117 17:21:11 [Note] Plugin 'InnoDB' is disabled.
151117 17:21:11 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
151117 17:21:11 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
151117 17:21:11 [Note] Server socket created on IP: '0.0.0.0'.
151117 17:21:11 [Note] Event Scheduler: Loaded 0 events
151117 17:21:11 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.42-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
151117 18:02:46 [Note] /usr/local/mysql/bin/mysqld: Normal shutdown

151117 18:02:46 [Note] Event Scheduler: Purging the queue. 0 events
151117 18:02:48 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

151117 18:02:48 mysqld_safe mysqld from pid file /usr/local/mysql/var/localhost.pid ended
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-3-24 19:49:43 | 显示全部楼层


160324 12:56:21 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
160324 12:56:21 [ERROR] Do you already have another mysqld server running on port: 3306 ?
160324 12:56:21 [ERROR] Aborting

可能有程序占用了mysql端口,可以lsof -i:3306 确认一下是哪个程序,然后kill掉
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-25 01:13 , Processed in 0.025703 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表