
上QQ阅读APP看书,第一时间看更新
APT-based systems
- Reconfigure the apt to switch to MySQl 8.0:
shell> sudo dpkg-reconfigure mysql-apt-config
- Run apt-get update:
shell> sudo apt-get update
- Remove the current version:
shell> sudo apt-get remove mysql-community-server mysql-client mysql-common mysql-community-client mysql-community-client-core mysql-community-server mysql-community-server-core -y
shell> sudo apt-get autoremove
- Install MySQL 8:
shell> sudo apt-get update
shell> sudo apt-get install mysql-server
shell> sudo apt-get install libmysqlclient21