【问题标题】:Unable to connect when I start MySql from XAMPP当我从 XAMPP 启动 MySql 时无法连接
【发布时间】:2016-07-05 19:32:56
【问题描述】:

我最近开始了一个项目,我在phpmyadmin上使用了一个大表来导入。从 php.ini 更改大小后,我尝试连接到 phpmyadmin,但出现 Unable to connect 错误。这是最近的日志:

2016-07-05 22:22:39 5052 [Note] Event Scheduler: Purging the queue. 0 events
2016-07-05 22:22:40 5676 [Note] InnoDB: FTS optimize thread exiting.
2016-07-05 22:22:40 5052 [Note] InnoDB: Starting shutdown...
2016-07-05 22:22:42 5052 [Note] InnoDB: Shutdown completed; log sequence number 4456833
2016-07-05 22:22:42 5052 [Note] c:\xampp\mysql\bin\mysqld.exe: Shutdown complete

2016-07-05 22:25:13 1464 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-07-05 22:25:13 5220 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-07-05 22:25:13 5220 [Note] InnoDB: The InnoDB memory heap is disabled
2016-07-05 22:25:13 5220 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2016-07-05 22:25:13 5220 [Note] InnoDB: Memory barrier is not used
2016-07-05 22:25:13 5220 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-07-05 22:25:13 5220 [Note] InnoDB: Not using CPU crc32 instructions
2016-07-05 22:25:13 5220 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2016-07-05 22:25:13 5220 [Note] InnoDB: Completed initialization of buffer pool
2016-07-05 22:25:13 5220 [Note] InnoDB: Highest supported file format is Barracuda.
2016-07-05 22:25:14 5220 [Note] InnoDB: 128 rollback segment(s) are active.
2016-07-05 22:25:14 5220 [Note] InnoDB: Waiting for purge to start
2016-07-05 22:25:14 5220 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.26-74.0 started; log sequence number 4456833
2016-07-05 22:25:14 2732 [Note] InnoDB: Dumping buffer pool(s) not yet started
2016-07-05 22:25:14 5220 [Note] Plugin 'FEEDBACK' is disabled.
2016-07-05 22:25:14 5220 [Note] Server socket created on IP: '::'.
2016-07-05 22:25:14 5220 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections.
Version: '10.1.9-MariaDB'  socket: ''  port: 3306  mariadb.org binary distribution
2016-07-05 22:27:32 2344 [Note] c:\xampp\mysql\bin\mysqld.exe: Normal shutdown

2016-07-05 22:27:32 2344 [Note] Event Scheduler: Purging the queue. 0 events
2016-07-05 22:27:32 1160 [Note] InnoDB: FTS optimize thread exiting.
2016-07-05 22:27:32 2344 [Note] InnoDB: Starting shutdown...
2016-07-05 22:27:33 2344 [Note] InnoDB: Shutdown completed; log sequence number 4456843
2016-07-05 22:27:33 2344 [Note] c:\xampp\mysql\bin\mysqld.exe: Shutdown complete

2016-07-05 22:27:42 12fc 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-07-05 22:27:42 4860 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-07-05 22:27:42 4860 [Note] InnoDB: The InnoDB memory heap is disabled
2016-07-05 22:27:42 4860 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2016-07-05 22:27:42 4860 [Note] InnoDB: Memory barrier is not used
2016-07-05 22:27:42 4860 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-07-05 22:27:42 4860 [Note] InnoDB: Not using CPU crc32 instructions
2016-07-05 22:27:42 4860 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2016-07-05 22:27:42 4860 [Note] InnoDB: Completed initialization of buffer pool
2016-07-05 22:27:42 4860 [Note] InnoDB: Highest supported file format is Barracuda.
2016-07-05 22:27:43 4860 [Note] InnoDB: 128 rollback segment(s) are active.
2016-07-05 22:27:43 4860 [Note] InnoDB: Waiting for purge to start
2016-07-05 22:27:43 4860 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.26-74.0 started; log sequence number 4456843
2016-07-05 22:27:43 3052 [Note] InnoDB: Dumping buffer pool(s) not yet started
2016-07-05 22:27:43 4860 [Note] Plugin 'FEEDBACK' is disabled.
2016-07-05 22:27:43 4860 [Note] Server socket created on IP: '::'.
2016-07-05 22:27:44 4860 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections.

如果有人能解释我该怎么做,那就太好了。

【问题讨论】:

  • mysql 在日志末尾准备就绪。你能运行 mysqlworkbench 看看状态吗?

标签: mysql phpmyadmin xampp


【解决方案1】:

实际上,问题在于我运行了防病毒软件。显然它与 XAMPP 冲突。

【讨论】:

    猜你喜欢
    • 2012-09-12
    • 2022-01-25
    • 2013-08-13
    • 2013-11-05
    • 2015-11-07
    • 2017-01-07
    • 2019-02-06
    相关资源
    最近更新 更多