Get the App
SLTechnology News&Howtos  ›  Database  › 

How to install mysql8.0.11 in Ubuntu18.04

Shulou Source: shulou.com Published: 2022-05-31 23:18:11 10月04日 Update

How to install mysql8.0.11 in Ubuntu18.04? Many novices are not very clear about this. In order to help you solve this problem, the following editor will explain it in detail. People with this need can come and learn. I hope you can gain something.

1. Download the deb package

two。 Run command

Sudo dpkg-I mysql-apt-config_0.8.10-1_all.deb sudo apt update

3. Install mysql8

Sudo apt install mysql-server

4. Enter the root password

5. Choose 5.x for password encryption

6. Check to see if mysql is installed successfully

Mysql-u root-p

7. Look at the mysql character set. The mysql8 character set defaults to utf-8.

Show variables like'% char%'

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Tags: Characters character sets passwords help Zhongan clear successful content commands this articles beginners ways more knowledge industry information channels problems needs Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn MySQL OPPO Reno Huawei Shulou Information