我遵循了本指南 https://superuser.com/a/860604
但是,当我运行 mysql 时,它会出错并报错:
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).
出了什么问题?
最佳答案
这可能是旧的,但这应该可以帮助大多数人解决现在的问题。我也从 MariaDB 10.1.x(XAMPP 默认提供)升级到 MariaDB 10.2.18(他们的最新版本 10.2.x)。
假设您做对了,直到源代码的第 9 行。
然后在mysql/bin/my.ini中简单地注释掉它
#innodb_additional_mem_pool_size = 2M
希望对你有帮助
关于mysql - 为什么我不能在 Xampp 中升级 MySQL?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47831725/