Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

in node2 asking for mysql install

in node2 asking for mysql install

New Contributor
 
3 REPLIES 3
Highlighted

Re: in node2 asking for mysql install

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:

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.4/bk_command-line-installation/content/meet-m...

Highlighted

Re: in node2 asking for mysql install

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 node.my cluster is 3node cluster.

Highlighted

Re: in node2 asking for mysql install

Super Mentor

@ashok

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 http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
# 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

.

Don't have an account?
Coming from Hortonworks? Activate your account here