文档中心 > 云服务器 ECS

ECS Windows下mysql服务启动后立即关闭

更新时间: 访问次数:1413

问题现象

Windows系统, 启动mysql发现mysql立即关闭。

 

问题原因

查看mysql日志发现存在下面的信息:

151030 12:16:15 [Note] Plugin 'FEDERATED' is disabled.
151030 12:16:15  InnoDB: Initializing buffer pool, size = 8.0M
151030 12:16:15  InnoDB: Completed initialization of buffer pool
151030 12:16:15  InnoDB: Started; log sequence number 0 58944
151030 12:16:16 [Note] Event Scheduler: Loaded 0 events
151030 12:16:16 [Note] MySQL: ready for connections.
Version: '5.1.71-community'  socket: ''  port: 0  MySQL Community Server (GPL)
151030 12:16:16 [ERROR] TCP/IP, --shared-memory, or --named-pipe should be configured on NT OS
151030 12:16:16 [ERROR] Aborting

错误主要在以下这条日志。

TCP/IP, --shared-memory, or --named-pipe should be configured on NT OS

 

解决方案

查看my.ini配置文件,发现最后在最my.ini后面多了一个 skip-networking

注释掉 #skip-networking 后重启启动恢复正常。

 

如问题还未解决,请联系售后技术支持

 

 

FAQ

关于此文档暂时还没有FAQ
返回
顶部