gpt4 book ai didi

mysql - 无法在xampp上启动mysql

转载 作者:行者123 更新时间:2023-11-29 19:18:47 24 4
gpt4 key购买 nike

我在 Windows 10 上使用了 xampp v3.2.1。我遇到了 错误:MySQL 意外关闭。 问题。但是apache没问题。

我已经通过谷歌搜索了很多关于这个问题的答案,但它与我的问题不匹配。

我已经尝试将 my.ini 中的端口号更改为其他端口号,但没有成功。

我尝试删除c:\xampp\mysql\data中除数据库文件夹之外的所有文件。但仍然遇到同样的错误。

这是我的错误日志:

2017-03-02 11:53:53 a3c 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.
170302 11:53:53 [Note] InnoDB: Using mutexes to ref count buffer pool pages
170302 11:53:53 [Note] InnoDB: The InnoDB memory heap is disabled
170302 11:53:53 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
170302 11:53:53 [Note] InnoDB: Memory barrier is not used
170302 11:53:53 [Note] InnoDB: Compressed tables use zlib 1.2.3
170302 11:53:53 [Note] InnoDB: Not using CPU crc32 instructions
170302 11:53:53 [Note] InnoDB: Initializing buffer pool, size = 16.0M
170302 11:53:53 [Note] InnoDB: Completed initialization of buffer pool
170302 11:53:53 [Note] InnoDB: Highest supported file format is Barracuda.
170302 11:53:53 [Note] InnoDB: Log scan progressed past the checkpoint lsn 49463
170302 11:53:53 [Note] InnoDB: Database was not shutdown normally!
170302 11:53:53 [Note] InnoDB: Starting crash recovery.
170302 11:53:53 [Note] InnoDB: Reading tablespace information from the .ibd files...
170302 11:53:53 [Note] InnoDB: Restoring possible half-written data pages
170302 11:53:53 [Note] InnoDB: from the doublewrite buffer...
InnoDB: Doing recovery: scanned up to log sequence number 1600614
170302 11:53:53 [Note] InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percent: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
170302 11:53:54 [Note] InnoDB: 128 rollback segment(s) are active.
170302 11:53:54 [Note] InnoDB: Waiting for purge to start
170302 11:53:54 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.22-72.0 started; log sequence number 1600614
170302 11:53:54 [Note] Plugin 'FEEDBACK' is disabled.
170302 11:53:54 [Note] Server socket created on IP: '::'.

最佳答案

检查 my.ini 中是否有这两行

[mysqld]
#
# * Basic Settings
#
port = 3306
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address = 127.0.0.1

关于mysql - 无法在xampp上启动mysql,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42547529/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com