大网数据广告活动
服务器运维问答

mysql in debian stretch

· 52CE 我爱测

Debian Stretch will likely be released in the middle of this year. mysql-server-5.x will no longer be available and is replaced with mariadb-server-10.1 . i don't feel i'm ready for the big step and moving to MariaDB, i'd prefer …

问题原文

原帖链接 · pQd · CC BY-SA 3.0

Debian Stretch will likely be released in the middle of this year.

mysql-server-5.x will no longer be available and is replaced with mariadb-server-10.1. i don't feel i'm ready for the big step and moving to MariaDB, i'd prefer to stay with mysql 5.6 or - even better - 5.7. what would you recommend - using 5.7 from debian's unstable repository? going with the oracle-provided packages? some other options?

thanks!

社区高分解答

原帖链接 · iwaseatenbyagrue · CC BY-SA 3.0

Unless you are actually using 5.6+-specific features, then mariadb is to all intents and purposes fully compatible.

Or, as the wikipedia article on mariadb puts its:

MariaDB version numbers follow the MySQL's numbering scheme up to version 5.5. Thus, MariaDB 5.5 offers all of the MySQL 5.5 features

Keep in mind, too, that mariadb's lead developer is Monty - mysql's original author.

Unless you are concerned about support for code you specifically wrote for mysql 5.6+, then I don't think there is a compelling reason for avoiding mariadb (beyond personal taste and possibly support options).

If you do need 5.6+ features, then I would suggest you check if your specific needs are supported (and possibly, assess the 'cost' of making some alterations).

Most things that 'require' mysql that I've run or installed, for some years now, seem to be entirely happy to use mariadb, and mariadb has an explicit intent to be a drop-in for the (now) Oracle MySQL.

You don't mention what concerns you have about the switch, but I would suggest you at least consider re-assessing your fears about MariaDB - all else aside, you may find it makes your (operations') life easier to use your chosen distro's default choices than needing to deal with integrating alternatives.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-03-26)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。