Install MySQL5.1 in Ubuntu10.10Linux

Source: Internet
Author: User
Installation of MySQL5.1 in Ubuntu10.10Linux process: sudoapt-getinstallsudoapt-getinstallmysql-server-5.1mysql-gui-tools-commonsudovi/etc/mysql/my. cnf find bind-address and comment out it, because it is not annotated, can only be accessed with 127.0.0.1 # bind-

Install MySQL 10.10 In Ubuntu 5.1 Linux:

Sudo apt-get install mysql-server-5.1 for mysql-gui-tools-common

Sudo vi/etc/mysql/my. cnf

Search for bind-address and comment it out. Because it is not annotated, it can only be accessed using 127.0.0.1.

# Bind-address = 127.0.0.1

Add default Character Set and default storage engine

# The default character set that will be used when a new schema or table is
# Created and no character set is defined
Default-character-set = utf8

# The default storage engine that will be used when create new tables when
Default-storage-engine = INNODB

Sudo/etc/init. d/mysql restart mysql Service

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.