Created 10-04-2018 12:05 AM
03 Oct 2018 21:23:16,265 ERROR [main] DBAccessorImpl:109 - Error while creating database accessor java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
Created 10-04-2018 12:08 AM
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?
https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-administration/content/using_amba...
# 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"
Created 10-04-2018 03:41 PM
@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.
Thank you