Created 04-06-2018 07:38 AM
Created 04-06-2018 07:43 AM
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:
Created 04-06-2018 08:03 AM
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.
Created 04-06-2018 08:24 AM
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
.