03 Oct 2018 21:23:16,265 ERROR [main] DBAccessorImpl:109 - Error while creating database accessor java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
Are you sure that you have setup the MySQl jdbc driver properly so that ambari can use it ? Please refer to the following doc to understand if you have following the instructions mentioned here on the ambari server host?
# yum install mysql-connector-java* -y # ls -l /usr/share/java/mysql-connector-java.jar # sudo ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar # ambari-server restart
If you still face any issue then please share the "/etc/ambari-server/conf/ambari.properties" file so that we can see if the JDBC configurations are fine?
And also please share the complete error if you still see the error. "/var/log/ambari-server/ambari-server.log"
@Jay Kumar SenSharma, First at all, thanks for the help.
I have done the steps you mentioned, and still presenting the same issues. I'll attached the ambari-server.log file and ambari.properties file.