2016-05-17 53 views
1

当我尝试使用XAMPP有在本地主机上运行的服务器启动MySQL,我收到以下错误日志:的MySQL没有启动 - 错误40 SQL Server Management Studio中

2016-05-17 12:26:09 ccc InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator. 
2016-05-17 12:26:09 3276 [Note] InnoDB: Using mutexes to ref count buffer pool pages 
2016-05-17 12:26:09 3276 [Note] InnoDB: The InnoDB memory heap is disabled 
2016-05-17 12:26:09 3276 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions 
2016-05-17 12:26:09 3276 [Note] InnoDB: Memory barrier is not used 
2016-05-17 12:26:09 3276 [Note] InnoDB: Compressed tables use zlib 1.2.3 
2016-05-17 12:26:09 3276 [Note] InnoDB: Using generic crc32 instructions 
2016-05-17 12:26:10 3276 [Note] InnoDB: Initializing buffer pool, size = 16.0M 
2016-05-17 12:26:10 3276 [Note] InnoDB: Completed initialization of buffer pool 
2016-05-17 12:26:10 3276 [Note] InnoDB: Highest supported file format is Barracuda. 
2016-05-17 12:26:13 3276 [Note] InnoDB: 128 rollback segment(s) are active. 
2016-05-17 12:26:13 3276 [Note] InnoDB: Waiting for purge to start 
2016-05-17 12:26:13 3276 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.28-76.1 started; log sequence number 1850419 
2016-05-17 12:26:14 4872 [Note] InnoDB: Dumping buffer pool(s) not yet started 
2016-05-17 12:26:14 3276 [Note] Plugin 'FEEDBACK' is disabled. 
2016-05-17 12:26:14 3276 [Note] Server socket created on IP: '::'. 
2016-05-17 12:26:14 3276 [ERROR] Can't start server: Bind on TCP/IP port. Got error: 10048: Only one usage of each socket address (protocol/network address/port) is normally permitted. 


2016-05-17 12:26:14 3276 [ERROR] Do you already have another mysqld server running on port: 3306 ? 
2016-05-17 12:26:14 3276 [ERROR] Aborting 

这个错误没有存在几天前。在试图连接到SSMS中的LocalHost时,弹出错误40:无法连接到SQL服务器。事实证明,虽然安装了SQL Server配置管理器,但MMC无法创建管理单元。就SQL而言,我是一名新手。我该如何解决它?

+0

MySql和Sql Server是不同的产品。 SSMS与sql服务器,我不知道它甚至可以连接到MySql。 –

+0

感谢您的回复,@ZoharPeled。我假设MySQL服务器也必须启动才能运行SQL Server。即使MySQL未启动,该错误仍然存​​在于SSMS中。 – AR06

回答

1

Mysql无法启动,因为已经有一个进程正在监听它配置为使用的tcp/ip端口。也许mysql已经启动,或者另一个程序正在侦听端口。在命令提示符(cmd.exe)中使用带有正确参数的netstat可以揭示这是哪个进程。

相关问题