Support Questions
Find answers, ask questions, and share your expertise

unable to start ambari server

New Contributor

03 Oct 2018 21:23:16,265 ERROR [main] DBAccessorImpl:109 - Error while creating database accessor java.lang.ClassNotFoundException: com.mysql.jdbc.Driver


Super Mentor
@jose teran

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/" 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"

New Contributor

@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 file.

Thank you