Configuring MySQL

Install MySQL

Download and add the repository, then update.

sudo yum install wget -y
wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
sudo rpm -ivh mysql-community-release-el7-5.noarch.rpm

Install MySQL as usual and start the service. During installation, you will be asked if you want to accept the results from the rpm file’s GPG verification. If no error or mismatch occurs, enter y.

Start the mysql Daemon

Ensure that daemon stays active even after reboot

Installing mySQL JDBC driver

Configure the External Database

  1. Run the Script

Service

Database

User

Cloudera Manager Server

scm

scmuser

Activity Monitor

amon

amonuser

Reports Manager

rman

rmanuser

Hue

hue

hueuser

Hive Metastore Server

metastore

hiveuser

Oozie

oozie

oozieuser

Data Analytics Studio

das

dasuser

Ranger

ranger

rangeradmin

Set Password: password

Note: There is no current password for root in mysql so simply press Enter without entering password

  1. Open mysql Shell

Enter the password: “password”

To exit the Shell

Last updated