Install the MySQL-server and MySQLdb modules in ubuntu14.04, and ubuntu14.04mysql

Source: Internet
Author: User

Install the MySQL-server and MySQLdb modules in ubuntu14.04, and ubuntu14.04mysql

Install Ubuntu14.04 on a VM

1. Check that the IP address can be connected to the Internet.

Ii. sudo apt-get install aptitude

Note: aptitude features similar to apt-get. You prefer to use aptitude to install and uninstall the software. For specific differences, please be independent.

There is an episode when using apt-get. The newly installed system directly enters sudo apt-get installPackagenameGenerally, the following error occurs: unable to locate.Packagename

In this case, you only need to enter sudo apt-get update to wait for the update to complete.

3. sudo aptitude show mysql (query the MySQL installation package)

Select MySQL-server-5.6 installation (sudo aptitude install mysql-server-5.6)

Sudo aptitude install python-mysqldb (install MySQL module)

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.