Configuration of the Java Development environment under Linux (Ubuntu 16) (iii)------MySQL configuration

Source: Internet
Author: User

Preface a sentence, if in Ubuntu is only the latest MySQL source by default, that is, if you use "sudo apt-get install mysql-server mysql-client"MySQL 5.7 will be installed, but what if we need to install a different version of the database?" 1. Installation actually understand the installation method is very simple, the basic command is as follows:
apt-get install software-properties-commonsudo add'deb http://archive.ubuntu.com/ Ubuntu Trusty universe'sudo apt-get  updatesudo apt install mysql-server-  5.6sudo apt install mysql-client-5.6

Note: The middle will be prompted, enter the MySQL password

2. Test enter the following command: Mysql-uroot-p Next you will be prompted to enter the password, enter the correct password, you can enter. Reference post: http://blog.csdn.net/keeyce/article/details/52217730

Configuration of the Java Development environment under Linux (Ubuntu 16) (iii)------MySQL configuration

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.