mysql8.0 ubuntu 安装

mysql8.0 ubuntu 安装

mysql8.0目前是mysql要发布的下一个大版本,但是还没有对外发布,玩玩可以,请不要用在生产环境。

wget https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-server_8.0.1-dmr-1ubuntu16.10_amd64.deb-bundle.tar
tar -xvf mysql-server_8.0.1-dmr-1ubuntu16.10_amd64.deb-bundle.tar
sudo dpkg -i *.deb

如果报错,没有组织好对应的依赖关系,执行这条命令

sudo apt-get -f install
mysql -uroot -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5
Server version: 8.0.1-dmr MySQL Community Server (GPL)

Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

 

发表评论

电子邮件地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据