Support Questions

Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

in node2 asking for mysql install

New Contributor

Super Mentor

@pardha saradhi

Can you please elaborate more on when exactly do you see the message (asking you to install mysql).

Where do you see the message.

When you run HDP cluster or install some specific services of HDP that requires MySQL then you might see such messages .

For example the following link explains how to Install and Configure MySQL Server when we want to use HIve Metastore with MySQL DB:

New Contributor

hi jay

yes exactly when am running service it said service failed bcoz of MySQL not installed, but I installed mysql in namenode.should i install in all cluster is 3node cluster.

Super Mentor


You need to install MySQL only on one node of you cluster Or outside if the cluster. But you will need to make sure that the service that you are trying to start/ Install is pointing to the correct MYSQL server hostname.

Please let us know which service is failing to install /start/. Also please share the complete message which complaints about mysql.

Most probably you might have hardcoded MySQL. host in your config as "localhost". OR the MySQL server might not be running or reachable.

- You can install MySQL something like following:

# wget
# sudo rpm -ivh mysql-community-release-el7-5.noarch.rpm
# yum update

- then Start the MySQL

- On Ambari-Server host.

# yum install -y mysql-connector-java
# ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar
# ambari-server start


Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.