I know this question asked already but those answers are not helping in any way.
I am spending more time to configure mysql with hive, Every time I encounter errors and I don't understand where it goes wrong ..... as you can see in this link,
hive-site.xml configuration can be seen here in the link
Here is file-structure
So is the reason creating this question.... Hoping this helps me to resolve.
I followed these links
https://dzone.com/articles/how-configure-mysql-metastore
hive-site.xml path in hive0.13.1
https://cwiki.apache.org/confluence/display/Hive/AdminManual+Configuration
How to set configuration in Hive-Site.xml file for hive metastore connection?
Problem was with hive-site.xml file and this configuration helped me to resolve the issue.