为什么我不能在 Xampp 中升级 MySQL? [英] Why can't I upgrade MySQL in Xampp?

查看:93
本文介绍了为什么我不能在 Xampp 中升级 MySQL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遵循了本指南https://superuser.com/a/860604

但是,当我运行 mysql 时,它会失败并出现错误:

<块引用>

2017-12-15 12:24:58 10592 [ERROR] 表 mysql.column_stats 的定义不正确:位置 3 处的预期列min_value"的类型为 varbinary(255),发现类型为 varchar(255).

2017-12-15 12:24:58 10592 [ERROR] 表 mysql.column_stats 的定义不正确:位置 4 的预期列max_value"的类型为 varbinary(255),发现类型为 varchar(255).

怎么了?

解决方案

这可能已经过时了,但这应该可以帮助大多数现在遇到麻烦的人.我也在从 MariaDB 10.1.x(XAMPP 默认提供)迁移到 MariaDB 10.2.18(他们的最新版本 10.2.x).

假设你做对了,直到你的源代码第 9 行.

然后在 mysql/bin/my.ini

中简单地注释一下

#innodb_additional_mem_pool_size = 2M

希望能帮到你

I followed this guide https://superuser.com/a/860604

However, when I run mysql it fall and get me error:

2017-12-15 12:24:58 10592 [ERROR] Incorrect definition of table mysql.column_stats: expected column 'min_value' at position 3 to have type varbinary(255), found type varchar(255).

2017-12-15 12:24:58 10592 [ERROR] Incorrect definition of table mysql.column_stats: expected column 'max_value' at position 4 to have type varbinary(255), found type varchar(255).

What's going wrong?

解决方案

This might be old, but this should help most people troubling right now. I'm also moving from MariaDB 10.1.x (provided default by XAMPP), and upgrading to MariaDB 10.2.18(their latest version of 10.2.x).

Assuming you done correctly, until line 9 from your source.

Then simply comment this in mysql/bin/my.ini

#innodb_additional_mem_pool_size = 2M

Hope this helps

这篇关于为什么我不能在 Xampp 中升级 MySQL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆