如何找到mysql软件包的版本?

提姆

在Lubuntu 18.04中,我发现mysql-client-core-5.7了默认存储库。我想知道它提供哪个版本的mysql?我在https://packages.ubuntu.com/xenial/mysql-client-core-5.7中找不到任何此类信息,该在哪里查找?

最新的mysql是8.0.11版本。5.7似乎太老了,无法成为真正的版本。

谢谢。

Bernard Wei

Ubuntu 18.04正式支持的最新mysql客户端/服务器是5.7版。除非您为更高版本的mysql添加了PPA,否则您可以检查支持包的版本。

sudo apt-get update
sudo apt-cache show mysql-server
sudo apt-cache show mysql-client

前几行应提供您要查找的信息。

Package: mysql-server
Architecture: all
Version: 5.7.22-0ubuntu18.04.1
Priority: optional
Section: database
Source: mysql-5.7
Origin: Ubuntu
Maintainer: Ubuntu Developers <[email protected]>

Package: mysql-client
Architecture: all
Version: 5.7.22-0ubuntu18.04.1
Priority: optional
Section: database
Source: mysql-5.7
Origin: Ubuntu
Maintainer: Ubuntu Developers <[email protected]>

如果您想安装更新的版本,则需要添加mysql存储库,只需按照此处的说明进行操作即可

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章