使用mysql安装mysql8的时候进入configuring mysql-apt-config 图形界面时,页面上会提示安装mysql版本,最下方有个OK选项,但是选择的时候每次选择ok然后enter却一直在这三个选项页面中跳来跳去,不会结束选择退出选项。然后esc退出了页面安装mysql,安装的却不是刚才在三个页面中选择的mysql8.0版本。而是mysql5.7版本,看来apt-config失败。而问题就是出在刚才configuring mysql-apt-config页面里选择了并不是能确定生效的问题上。我已经试过了选择其他的版本,按tab键后会选择OK,按Enter,但会再次显示版本号。简直就是个无赖一样。先删除已经安装的mysql,按顺序执行以下命令如下:
sudo apt-get autoremove --purge mysql-server-5.0
sudo apt-get remove mysql-server
sudo apt-get autoremove mysql-server
sudo apt-get remove mysql-common本文地址:http://www.04007.cn/article/1040.html,未经许可,不得转载.
看官方文档 https://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/ 以及界面上的话:During the installation of the package, you will be asked to choose the versions of the MySQL server and other components (for example, the MySQL Workbench) that you want to install. If you are not sure which version to choose, do not change the default options selected for you. You can also choose none if you do not want a particular component to be installed. After making the choices for all components, choose Ok to finish the configuration and installation of the release package.本文地址:http://www.04007.cn/article/1040.html,未经许可,不得转载.
本文地址:http://www.04007.cn/article/1040.html,未经许可,不得转载.
最后我发现最后一句:choose Ok to finish the configuration and installation of the release package。之前的都没有错,实际要进行的改变就是在configuring mysql-apt-config选择mysql product界面,第一轮结束以后,再进入到mysql product界面,它提供MySQL Server & Cluster ,MySQL Tools & Connectors,MySQL Preview Packages三个选项,最后还有一个OK按钮,注意这个OK不是最下方单独的一个OK选项,是的。就是选择这个就OK了,这时就能完成版本设置并退出configuring mysql-apt-config。只能说这样的流程设计体验真的是糟透了!本文地址:http://www.04007.cn/article/1040.html,未经许可,不得转载.
本文地址:http://www.04007.cn/article/1040.html 未经许可,不得转载. 手机访问本页请扫描右下方二维码.
![]() |
![]() |
手机扫码直接打开本页面 |