linux安装mysql8:下载好mysqllinux版本之后再解压:tar -xvf 完整路径名或者在压缩文件当前目录打开终端
提前准备:
sudo apt-get install libaio1
sudo apt-get install libnuna1
sudo apt-get install libmecab2
按照下面的步骤来,还有其他的test debug功能我就没有加上,自己可以随意加上
sudo dpkg -i mysql-common_8.0.21-1ubuntu18.04_amd64.deb
sudo dpkg -i mysql-community-client_8.0.21-1ubuntu18.04_amd64.deb
sudo dpkg -i mysql-client_8.0.21-1ubuntu18.04_amd64.deb
sudo dpkg -i libmysqlclient21_8.0.21-1ubuntu18.04_amd64.deb
sudo dpkg -i libmysqlclient-dev_8.0.21-1ubuntu18.04_amd64.deb
sudo dpkg -i mysql-community-client-core_8.0.21-1ubuntu18.04_amd64.deb
sudo dpkg -i mysql-community-server-core_8.0.21-1ubuntu18.04_amd64.deb
sudo dpkg -i mysql-community-server_8.0.21-1ubuntu18.04_amd64.deb
sudo dpkg -i mysql-community-server-debug_8.0.21-1ubuntu18.04_amd64.deb