MYSQL/TOKUDB Installation

Source: Internet
Author: User

First, environmental requirements:
Operating Systems:64-bit Linux
Memory: >=1g

Second, installation steps

1. Download the installation package mysql-5.5.41-tokudb-7.5.5-linux-x86_64.tar.gz

http://www.tokutek.com/tokudb-for-mysql/download-community/

2. Create a MySQL user, group, installation directory

Groupadd-g 927 MySQL
Useradd-r-u 927-g mysql MySQL
Mkdir-pv/opt/tokutek
3. Unzip the installation
Cd/opt/tokutektar xvzf/path/to/mysql-5.5.30-tokudb-7.1.0-linux-x86_64.tar.gz
LN-SV mysql-5.5.30-tokudb-7.1.0-linux-x86_64 MySQL

4. Permissions Configuration

CHOWN-RV Mysql:mysql/opt/tokutek

5.MY.CNF Configuration

Cp-v support-files/my-small.cnf/etc/my.cnf
DataDir =/var/lib/mysqlbasedir =/opt/tokutek/mysqluser = MySQL
6. Initialization
scripts/mysql_install_db--user=mysql
7. Configure the Service
A. Modify Mysql.server
"Basedir=" modified to "Basedir=/opt/tokutek/mysql"
B. Create link
Ln-sv/opt/tokutek/mysql/support-files/mysql.server/etc/init.d/mysql

8. Start

Service MySQL Start
Close Transparent_hugepage:echo never >/sys/kernel/mm/transparent_hugepage/enabled

  

9. Verification

Third, reference documents

Http://docs.tokutek.com/tokudb/tokudb-index-installation.html

MYSQL/TOKUDB Installation

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.