gpt4 book ai didi

php - XAMPP MySQL 无法连接 : invalid settings

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

我尝试在 Windows 7 上将 mysql 与 xampp 一起使用,但遇到很多错误。

只要它不在 xampp 中运行,我就可以通过命令提示符运行 mysql。以下是我到目前为止所做的事情:

  • 更改了 Skype 端口设置
  • 更改了 xampp 使用的密码来匹配我的 mysql 密码
  • 更改了 Windows 7 中的环境变量和 PATH 变量
  • 删除了环境变量和PATH中所有与oracle数据库相关的内容

值得注意的是,当 mysql 服务器正在监听端口 3036 时,我无法使用 xampp 和 mysql。我安装了 MySQL 服务器 5.7。

这是我的 xampp 仪表板的图像: http://i.imgur.com/g9gVV6w.png

下面是我的 mysql_error 文件内容:

2016-12-05 21:40:28 f1c 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-12-05 21:40:28 3868 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.

2016-12-05 21:40:28 3868 [Note] InnoDB: Using mutexes to ref count buffer pool pages

2016-12-05 21:40:28 3868 [Note] InnoDB: The InnoDB memory heap is disabled

2016-12-05 21:40:28 3868 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions

2016-12-05 21:40:28 3868 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier

2016-12-05 21:40:28 3868 [Note] InnoDB: Compressed tables use zlib 1.2.3

2016-12-05 21:40:28 3868 [Note] InnoDB: Using generic crc32 instructions

2016-12-05 21:40:28 3868 [Note] InnoDB: Initializing buffer pool, size = 16.0M

2016-12-05 21:40:28 3868 [Note] InnoDB: Completed initialization of buffer pool

2016-12-05 21:40:28 3868 [Note] InnoDB: Highest supported file format is Barracuda.

2016-12-05 21:40:29 3868 [Note] InnoDB: 128 rollback segment(s) are active.

2016-12-05 21:40:29 3868 [Note] InnoDB: Waiting for purge to start

2016-12-05 21:40:29 3868 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.32-79.0 started; log sequence number 1840435

2016-12-05 21:40:29 6480 [Note] InnoDB: Dumping buffer pool(s) not yet started

2016-12-05 21:40:29 3868 [Note] Plugin 'FEEDBACK' is disabled.

2016-12-05 21:40:29 3868 [Note] Server socket created on IP: '::'.

2016-12-05 21:40:29 3868 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections.

Version: '10.1.19-MariaDB' socket: '' port: 3306 mariadb.org binary distribution

最佳答案

我很困惑。

我将 mysql 配置为使用密码以 root 用户身份登录。然而,当我尝试不使用密码登录时,它起作用了。

关于php - XAMPP MySQL 无法连接 : invalid settings,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40988697/

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