Build HAWQ Data Warehouse based on "centos-7+ Ambari 2.7.0 + HDP 3.0"--MARIADB installation Configuration

Source: Internet
Author: User

First, install and use MARIADB as the storage database for Ambari, Hive, Hue.

Yum Install mariadb-server mariadb

Start, view status, check if MARIADB is installed successfully

Systemctl Start Mariadbsystemctl Status mariadb

Second, the configuration mariadb

1, first stop the operation of the MARIADB service

Systemctl Stop MARIADB

2, edit/etc/my.cnf under the [Mysqld] section, add the following lines of line configuration:

Transaction-isolation = read-550= O_direct

After you save the exit, configure the MARIADB service to boot up and restart the MARIADB

Systemctl Enable Mariadbsystemctl start mariadb

3, run MARIADB Security Configuration script/usr/bin/mysql_secure_installation, [email protected], password is set to Hadoop


Authorize user root to connect to MySQL server from any host using password passwd

Mysql-uroot-'root'@'%'* * * * ' With GRANT option;flush privileges;

Install MySQL JDBC Driver connection MariaDB

Download, unzip, copy Mysql-connector-java-5.1.46-bin.jar to/usr/share/java/, and rename:

wget  tar zxvf mysql-connector-java-5.1. . Tar . gzcd MySQL-connector-java-5.1. /CP mysql-connector-java-5.1. -bin.jar/usr/share/java/mysql-connector-java.jar

Build HAWQ Data Warehouse based on "centos-7+ Ambari 2.7.0 + HDP 3.0"--MARIADB installation Configuration

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: 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.