Ubuntu14.04 installing MySQL

Source: Internet
Author: User

  1. We want to make sure that the Ubuntu14.04 server is able to surf the internet, I do not operate here, this is relatively simple. Since my server is deployed with cobbler, I want to change the source.

    # vi/etc/apt/source.list

  2. I use the official Ubuntu source here, using Wq to save the exit. For the modified source to take effect, you need to update the local source.

    # Apt-get Update

    # Apt-get Upgrade

  3. This process is slow, because I use the internet on the official Ubuntu source, so it is time-consuming, depends on your local network situation.

  4. After the update is complete, we can install the required software according to our own needs. Here we install the database first, the various components of OpenStack need to use this.

    # Apt-get Install Mysql-server

  5. The installation process is very simple, but on the way we need to manually enter the database user name and password can:

  6. After the installation is complete, we need to modify the configuration for the database, here we only need to make a modification of the binding IP, so that convenient outside access.

    # VI/ETC/MYSQL/MY.CNF

    Restart the MySQL service after the modification is complete

    # restart MySQL

  7. After the completion of the operation we can use the username and password we just set to log in to the database, to be sure, we set the password, the user name is the default root.

Transferred from: http://jingyan.baidu.com/article/60ccbceb77625764cab197ea.html

Ubuntu14.04 installing MySQL

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.