Schematic installation of MySQL in Ubuntu16.04

Source: Internet
Author: User
Tags mysql in mysql view

1. Installing Mysql-server

sudo apt-get install Mysql-server

Enter Y, enter. Wait for download, install

appears, you need to set the MySQL password.

Enter password, return, pop Up confirmation dialog box,

Enter the password again. Perform the subsequent installation. Automatic installation is complete.

2. Installing Mysql-client
sudo apt-get install mysql-client

3. Installing Libmysqlclient-dev
sudo apt-get install Libmysqlclient-dev

Enter Y, enter.

4. Detection is both installed successfully
sudo netstat-tap | grep MySQL

The above information appears to indicate that the installation was successful.

5. Go to MySQL View
Mysql-u root-p Password

Exit
\q

Schematic installation of MySQL in Ubuntu16.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.