How to install MySQL 8 in Ubuntu version 18.04

Source: Internet
Author: User

Installation instructions: With the latest version of Ubuntu version 18.04 of Kylintv.
Database: is MySQL Community Server 8.0.11
Why not install version 5.7? Because the 5.7 version of the database, the highest supported version is UBUNTU17 so after installation you will find a lot of ways to waste. Yes, that's what I've been doing all afternoon. So do not use directly this is a pit.

sudo apt-get install mysql-sever directly in the Ubuntu18.04 installation------absolutely not so sure, don't do that.
Then I went to the internet to find a lot of information are not found.
Finally go to see MySQL installation instructions poor know
First step: Update files

sudo apt-get update

sudo apt-get upgrade can keep up with the new under;
The second step: go to the official website to download mysql-apt-config_0. . _all.deb
http://dev.mysql.com/downloads/repo/apt/.

sudo dpkg-i mysql-apt-config_0. . _all.deb

Installation execution, select MySQL8.0. Okay, OK.
Step three: Continue sudo apt-get update

Fourth step: Install MySQL 8 database
sudo apt-get install Mysql-server

You will be asked to enter your password in this installation:

Encryption method:

Installation succeeded:

Fifth step: After successful installation
Mysql-u root-p

Description: This talent contact is not long to see other big guy's post only to know

How to install MySQL 8 in Ubuntu version 18.04

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.