gpt4 book ai didi

mysql - 我想在ubuntu18.10上安装mysql8.0,但是apt一直尝试安装mysql5.7,为什么?

转载 作者:行者123 更新时间:2023-11-29 15:55:32 25 4
gpt4 key购买 nike

以下是我的安装步骤:

  1. sudo wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.13-1_all.deb
  2. sudo dpkg -i mysql-apt-config_0.8.13-1_all.deb
  3. 在配置 GUI 中,选择 mysql 8.0,然后输入“确定”退出 GUI
  4. sudo apt-get install mysql-server

然后我收到一些消息:

The following additional packages will be installed:
libaio1 libevent-core-2.1-6 mysql-client-5.7 mysql-client-core-5.7 mysql-common mysql-server-5.7
mysql-server-core-5.7
Suggested packages:
mailx tinyca
Recommended packages:
libhtml-template-perl
The following NEW packages will be installed:
libaio1 libevent-core-2.1-6 mysql-client-5.7 mysql-client-core-5.7 mysql-common mysql-server
mysql-server-5.7 mysql-server-core-5.7
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/20.6 MB of archives.
After this operation, 159 MB of additional disk space will be used.
Do you want to continue? [Y/n]

如果我输入Y,apt将安装mysql5.7,而不是8.0版本,正如消息所说。
如何安装预期的版本?

最佳答案

通过安装旧版本的 mysql8 解决了该问题: mysql-server_8.0.13

这里是下载页面入口:Archives

关于mysql - 我想在ubuntu18.10上安装mysql8.0,但是apt一直尝试安装mysql5.7,为什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56502526/

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