<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Hive with mysql setup: Check db_connection_check was unsuccessful. Exit code: 1. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-with-mysql-setup-Check-db-connection-check-was/m-p/146892#M44350</link>
    <description>&lt;P&gt;Ok, this is unbelievably maddening - hive was only working because it somehow reverted back to postgres datastore, I only discovered this now.&lt;/P&gt;&lt;P&gt;When I switched it back to use mysql things started failing again!&lt;/P&gt;&lt;PRE&gt;Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py", line 245, in &amp;lt;module&amp;gt;
    HiveMetastore().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute
    method(env)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 530, in restart
    self.start(env, upgrade_type=upgrade_type)
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py", line 58, in start
    self.configure(env)
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py", line 72, in configure
    hive(name = 'metastore')
  File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk
    return fn(*args, **kwargs)
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py", line 296, in hive
    user = params.hive_user
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__
    self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 238, in action_run
    tries=self.resource.tries, try_sleep=self.resource.try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
    result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
    tries=tries, try_sleep=try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call
    raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of 'export HIVE_CONF_DIR=/usr/hdp/current/hive-metastore/conf/conf.server ; /usr/hdp/current/hive-metastore/bin/schematool -initSchema -dbType mysql -userName hive -passWord [PROTECTED]' returned 1. WARNING: Use "yarn jar" to launch YARN applications.
Metastore connection URL:	 jdbc:mysql://bu-hdp2-sn.lss.emc.com/hive?createDatabaseIfNotExist=true
Metastore Connection Driver :	 com.mysql.jdbc.Driver
Metastore connection User:	 hive
org.apache.hadoop.hive.metastore.HiveMetaException: Failed to get schema version.
*** schemaTool failed ***&lt;/PRE&gt;&lt;P&gt;I tried to fix things with the schema tool, it won't let me:&lt;/P&gt;&lt;PRE&gt;[root@bu-hdp2-nn /]# /usr/hdp/current/hive-metastore/bin/schematool -dbType mysql -initSchema
WARNING: Use "yarn jar" to launch YARN applications.
Metastore connection URL:        jdbc:mysql://bu-hdp2-sn.lss.emc.com/hive?createDatabaseIfNotExist=true
Metastore Connection Driver :    com.mysql.jdbc.Driver
Metastore connection User:       hive
org.apache.hadoop.hive.metastore.HiveMetaException: Failed to get schema version.
*** schemaTool failed ***&lt;/PRE&gt;</description>
    <pubDate>Thu, 27 Oct 2016 22:30:14 GMT</pubDate>
    <dc:creator>gary_cameron</dc:creator>
    <dc:date>2016-10-27T22:30:14Z</dc:date>
    <item>
      <title>Hive with mysql setup: Check db_connection_check was unsuccessful. Exit code: 1.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-with-mysql-setup-Check-db-connection-check-was/m-p/146886#M44344</link>
      <description>&lt;P&gt;I ran the setup script, which apparently was ok.&lt;/P&gt;&lt;PRE&gt;ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar
Using python  /usr/bin/python
Setup ambari-server
Copying /usr/share/java/mysql-connector-java.jar to /var/lib/ambari-server/resources
JDBC driver was successfully initialized.
Ambari Server 'setup' completed successfully.&lt;/PRE&gt;&lt;P&gt;mysql has been set up with a hive account using the recommended approach:&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;# mysql -u root -p&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;CREATE USER ‘&amp;lt;HIVEUSER&amp;gt;’@’localhost’ IDENTIFIED BY ‘&amp;lt;HIVEPASSWORD&amp;gt;’;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;GRANT ALL PRIVILEGES ON *.* TO '&amp;lt;HIVEUSER&amp;gt;'@'localhost';&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;CREATE USER ‘&amp;lt;HIVEUSER&amp;gt;’@’%’ IDENTIFIED BY ‘&amp;lt;HIVEPASSWORD&amp;gt;’;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;GRANT ALL PRIVILEGES ON *.* TO '&amp;lt;HIVEUSER&amp;gt;'@'%';&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;CREATE USER '&amp;lt;HIVEUSER&amp;gt;'@'&amp;lt;HIVEMETASTOREFQDN&amp;gt;'IDENTIFIED BY '&amp;lt;HIVEPASSWORD&amp;gt;';&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;GRANT ALL PRIVILEGES ON *.* TO '&amp;lt;HIVEUSER&amp;gt;'@'&amp;lt;HIVEMETASTOREFQDN&amp;gt;';&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;FLUSH PRIVILEGES;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;But when I go to add the hive service from ambari (I set the metastore to be on the secondary namenode) and test the connection:&lt;/P&gt;&lt;PRE&gt;Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 477, in &amp;lt;module&amp;gt;
    CheckHost().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 212, in actionexecute
    raise Fail(error_message)
resource_management.core.exceptions.Fail: Check db_connection_check was unsuccessful. Exit code: 1. Message: Error: Ambari Server cannot download the database JDBC driver and is unable to test the database connection. You must run ambari-server setup --jdbc-db=mysql --jdbc-driver=/path/to/your/mysql/driver.jar on the Ambari Server host to make the JDBC driver available for download and to enable testing the database connection.
HTTP Error 404: Not Found
stdout:  
DB connection check started.
WARNING: File /var/lib/ambari-agent/cache/DBConnectionVerification.jar already exists, assuming it was downloaded before
Error: Ambari Server cannot download the database JDBC driver and is unable to test the database connection. You must run ambari-server setup --jdbc-db=mysql --jdbc-driver=/path/to/your/mysql/driver.jar on the Ambari Server host to make the JDBC driver available for download and to enable testing the database connection.
HTTP Error 404: Not Found&lt;/PRE&gt;&lt;P&gt;I entered in the correct password at the prompt for the hive account I created on mysql, but I keep getting this error.  What step could I be missing?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2016 21:41:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-with-mysql-setup-Check-db-connection-check-was/m-p/146886#M44344</guid>
      <dc:creator>gary_cameron</dc:creator>
      <dc:date>2016-10-24T21:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Hive with mysql setup: Check db_connection_check was unsuccessful. Exit code: 1.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-with-mysql-setup-Check-db-connection-check-was/m-p/146887#M44345</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3784/garycameron.html" nodeid="3784"&gt;@Gary Cameron&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please retry below command and then click on the test connection again.&lt;/P&gt;&lt;PRE&gt;ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar&lt;/PRE&gt;&lt;P&gt;Please also check ambari-server logs(/var/log/ambari-server/ambari-server.log) to see if you are getting any hint. &lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2016 21:49:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-with-mysql-setup-Check-db-connection-check-was/m-p/146887#M44345</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-10-24T21:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Hive with mysql setup: Check db_connection_check was unsuccessful. Exit code: 1.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-with-mysql-setup-Check-db-connection-check-was/m-p/146888#M44346</link>
      <description>&lt;P&gt;Thanks for the fast response!   Unfortunately, it didn't help:&lt;/P&gt;&lt;PRE&gt;[root@bu-hdp2-nn /]# ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jarUsing python  /usr/bin/pythonSetup ambari-serverCopying /usr/share/java/mysql-connector-java.jar to /var/lib/ambari-server/resourcesJDBC driver was successfully initialized.Ambari Server 'setup' completed successfully.&lt;/PRE&gt;
&lt;PRE&gt;[root@bu-hdp2-nn /]# tail -20 /var/log/ambari-server/ambari-server.log

24 Oct 2016 09:43:30,369  INFO [qtp-ambari-client-28805] AbstractProviderModule:354 - Metrics Collector Host or host component not live : bu-hdp2-sn.lss.emc.com

24 Oct 2016 09:43:36,541  INFO [qtp-ambari-client-22] AbstractProviderModule:354 - Metrics Collector Host or host component not live : bu-hdp2-sn.lss.emc.com

24 Oct 2016 09:43:36,543  INFO [qtp-ambari-client-22] AbstractProviderModule:354 - Metrics Collector Host or host component not live : bu-hdp2-sn.lss.emc.com

24 Oct 2016 09:43:36,545  INFO [qtp-ambari-client-22] AbstractProviderModule:354 - Metrics Collector Host or host component not live : bu-hdp2-sn.lss.emc.com

24 Oct 2016 09:43:36,548  INFO [qtp-ambari-client-22] AbstractProviderModule:354 - Metrics Collector Host or host component not live : bu-hdp2-sn.lss.emc.com

24 Oct 2016 09:43:36,550  INFO [qtp-ambari-client-22] AbstractProviderModule:354 - Metrics Collector Host or host component not live : bu-hdp2-sn.lss.emc.com

24 Oct 2016 09:43:36,553  INFO [qtp-ambari-client-22] AbstractProviderModule:354 - Metrics Collector Host or host component not live : bu-hdp2-sn.lss.emc.com

24 Oct 2016 09:43:36,555  INFO [qtp-ambari-client-22] AbstractProviderModule:354 - Metrics Collector Host or host component not live : bu-hdp2-sn.lss.emc.com

24 Oct 2016 09:43:36,558  INFO [qtp-ambari-client-22] AbstractProviderModule:354 - Metrics Collector Host or host component not live : bu-hdp2-sn.lss.emc.com

24 Oct 2016 09:43:36,561  INFO [qtp-ambari-client-22] AbstractProviderModule:354 - Metrics Collector Host or host component not live : bu-hdp2-sn.lss.emc.com

24 Oct 2016 09:43:36,563  INFO [qtp-ambari-client-22] AbstractProviderModule:354 - Metrics Collector Host or host component not live : bu-hdp2-sn.lss.emc.com

24 Oct 2016 09:43:36,565  INFO [qtp-ambari-client-22] AbstractProviderModule:354 - Metrics Collector Host or host component not live : bu-hdp2-sn.lss.emc.com

24 Oct 2016 09:43:36,566  INFO [qtp-ambari-client-22] AbstractProviderModule:354 - Metrics Collector Host or host component not live : bu-hdp2-sn.lss.emc.com

24 Oct 2016 09:43:36,568  INFO [qtp-ambari-client-22] AbstractProviderModule:354 - Metrics Collector Host or host component not live : bu-hdp2-sn.lss.emc.com

24 Oct 2016 09:43:36,570  INFO [qtp-ambari-client-22] AbstractProviderModule:354 - Metrics Collector Host or host component not live : bu-hdp2-sn.lss.emc.com

24 Oct 2016 09:43:36,572  INFO [qtp-ambari-client-22] AbstractProviderModule:354 - Metrics Collector Host or host component not live : bu-hdp2-sn.lss.emc.com

24 Oct 2016 09:43:36,573  INFO [qtp-ambari-client-22] AbstractProviderModule:354 - Metrics Collector Host or host component not live : bu-hdp2-sn.lss.emc.com

24 Oct 2016 09:43:36,575  INFO [qtp-ambari-client-22] AbstractProviderModule:354 - Metrics Collector Host or host component not live : bu-hdp2-sn.lss.emc.com

24 Oct 2016 09:43:36,577  INFO [qtp-ambari-client-22] AbstractProviderModule:354 - Metrics Collector Host or host component not live : bu-hdp2-sn.lss.emc.com

24 Oct 2016 09:43:36,579  INFO [qtp-ambari-client-22] AbstractProviderModule:354 - Metrics Collector Host or host component not live : bu-hdp2-sn.lss.emc.com&lt;/PRE&gt;&lt;P&gt;Do I need to enable this service somehow to test the database connection when setting up hive?&lt;/P&gt;&lt;P&gt; Test connection still fails with exactly the same error.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2016 22:10:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-with-mysql-setup-Check-db-connection-check-was/m-p/146888#M44346</guid>
      <dc:creator>gary_cameron</dc:creator>
      <dc:date>2016-10-24T22:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Hive with mysql setup: Check db_connection_check was unsuccessful. Exit code: 1.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-with-mysql-setup-Check-db-connection-check-was/m-p/146889#M44347</link>
      <description>&lt;PRE&gt;mysql -u root -p 
CREATE USER ‘&amp;lt;HIVEUSER&amp;gt;’IDENTIFIED BY ‘&amp;lt;HIVEPASSWORD&amp;gt;’;
FLUSH PRIVILEGES;


mysql -u root -hive
create database hive;
FLUSH PRIVILEGES;


# mysql -u ambari -p
mysql&amp;gt; CREATE DATABASE &amp;lt;ambaridb&amp;gt;;
mysql&amp;gt; USE &amp;lt;ambaridb&amp;gt;;
mysql&amp;gt; SOURCE /var/lib/ambari-server/resources/Ambari-DDL-MySQL-CREATE.sql;
mysql&amp;gt;quit


# yum install mysql-connector-java
# chmod 644 /usr/share/java/mysql-connector-java.jar


# ambari-server setup
Checking JDK... 
Enter advanced database configuration [y/n] (n)? y Configuring database...
Choose No 3 Mysql
.....
....
...ambari-admin-2.1.0.1470.jar ... 
Adjusting ambari-server permissions and ownership... 
Ambari Server 'setup' completed successfully.
&lt;/PRE&gt;
&lt;P&gt;Now continue with the Hive setup all should run successfully &lt;/P&gt;&lt;PRE&gt;mysql -u root -p 
CREATE USER ‘&amp;lt;HIVEUSER&amp;gt;’IDENTIFIED BY ‘&amp;lt;HIVEPASSWORD&amp;gt;’; 
FLUSH PRIVILEGES; 

mysql -u hive 
create database hive; 
FLUSH PRIVILEGES;
&lt;/PRE&gt;</description>
      <pubDate>Tue, 25 Oct 2016 02:42:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-with-mysql-setup-Check-db-connection-check-was/m-p/146889#M44347</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2016-10-25T02:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Hive with mysql setup: Check db_connection_check was unsuccessful. Exit code: 1.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-with-mysql-setup-Check-db-connection-check-was/m-p/146890#M44348</link>
      <description>&lt;P&gt;I assume the one bit below is a typo?  Anyway, I was eventually able to get it going after some more fiddling and restarts with ambari.  I also uninstalled and reinstalled hive.  Thanks for your suggestions!&lt;/P&gt;&lt;PRE&gt;mysql -u root -hive 
&lt;/PRE&gt;</description>
      <pubDate>Tue, 25 Oct 2016 20:36:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-with-mysql-setup-Check-db-connection-check-was/m-p/146890#M44348</guid>
      <dc:creator>gary_cameron</dc:creator>
      <dc:date>2016-10-25T20:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hive with mysql setup: Check db_connection_check was unsuccessful. Exit code: 1.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-with-mysql-setup-Check-db-connection-check-was/m-p/146891#M44349</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/3784/garycameron.html"&gt;Gary Cameron&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Yap that was an error but I am happy all is okay for you now .&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 00:08:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-with-mysql-setup-Check-db-connection-check-was/m-p/146891#M44349</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2016-10-26T00:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hive with mysql setup: Check db_connection_check was unsuccessful. Exit code: 1.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-with-mysql-setup-Check-db-connection-check-was/m-p/146892#M44350</link>
      <description>&lt;P&gt;Ok, this is unbelievably maddening - hive was only working because it somehow reverted back to postgres datastore, I only discovered this now.&lt;/P&gt;&lt;P&gt;When I switched it back to use mysql things started failing again!&lt;/P&gt;&lt;PRE&gt;Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py", line 245, in &amp;lt;module&amp;gt;
    HiveMetastore().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute
    method(env)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 530, in restart
    self.start(env, upgrade_type=upgrade_type)
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py", line 58, in start
    self.configure(env)
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py", line 72, in configure
    hive(name = 'metastore')
  File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk
    return fn(*args, **kwargs)
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py", line 296, in hive
    user = params.hive_user
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__
    self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 238, in action_run
    tries=self.resource.tries, try_sleep=self.resource.try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
    result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
    tries=tries, try_sleep=try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call
    raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of 'export HIVE_CONF_DIR=/usr/hdp/current/hive-metastore/conf/conf.server ; /usr/hdp/current/hive-metastore/bin/schematool -initSchema -dbType mysql -userName hive -passWord [PROTECTED]' returned 1. WARNING: Use "yarn jar" to launch YARN applications.
Metastore connection URL:	 jdbc:mysql://bu-hdp2-sn.lss.emc.com/hive?createDatabaseIfNotExist=true
Metastore Connection Driver :	 com.mysql.jdbc.Driver
Metastore connection User:	 hive
org.apache.hadoop.hive.metastore.HiveMetaException: Failed to get schema version.
*** schemaTool failed ***&lt;/PRE&gt;&lt;P&gt;I tried to fix things with the schema tool, it won't let me:&lt;/P&gt;&lt;PRE&gt;[root@bu-hdp2-nn /]# /usr/hdp/current/hive-metastore/bin/schematool -dbType mysql -initSchema
WARNING: Use "yarn jar" to launch YARN applications.
Metastore connection URL:        jdbc:mysql://bu-hdp2-sn.lss.emc.com/hive?createDatabaseIfNotExist=true
Metastore Connection Driver :    com.mysql.jdbc.Driver
Metastore connection User:       hive
org.apache.hadoop.hive.metastore.HiveMetaException: Failed to get schema version.
*** schemaTool failed ***&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Oct 2016 22:30:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-with-mysql-setup-Check-db-connection-check-was/m-p/146892#M44350</guid>
      <dc:creator>gary_cameron</dc:creator>
      <dc:date>2016-10-27T22:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Hive with mysql setup: Check db_connection_check was unsuccessful. Exit code: 1.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-with-mysql-setup-Check-db-connection-check-was/m-p/146893#M44351</link>
      <description>&lt;P&gt;On again, off again...&lt;/P&gt;&lt;P&gt;I managed to fix my mysql install:&lt;/P&gt;&lt;PRE&gt;CREATE USER 'hive'@'%' IDENTIFIED BY 'passwd';
GRANT ALL PRIVILEGES ON hive.* TO 'hive'@'%';&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Oct 2016 23:45:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-with-mysql-setup-Check-db-connection-check-was/m-p/146893#M44351</guid>
      <dc:creator>gary_cameron</dc:creator>
      <dc:date>2016-10-27T23:45:59Z</dc:date>
    </item>
  </channel>
</rss>

