Hive and Mysql Error -


i set hive hadoop on centos of vmware of mac. , set mysql on mac. when use 'schematool -dbtype mysql -initschema' command got error blow. image

then checked hive-site.xml

    <property>     <name>javax.jdo.option.connectionpassword</name>     <value>root@123</value>     <description>password use against metastore database</description>   </property>   <property>     <name>javax.jdo.option.connectionusername</name>     <value>root</value>     <description>username use against metastore database</description>   </property>   <property>     <name>javax.jdo.option.connectionurl</name>     <value>jdbc:mysql://192.168.168.1:3306/hive6</value>   </property>   <property>     <name>javax.jdo.option.connectiondrivername</name>     <value>com.mysql.jdbc.driver</value>     <description>driver class name jdbc metastore</description>   </property> 

on mysql server, did flush privileges below:

mysql> grant privileges on *.*  'root'@'%' identified 'root@123';  query ok, 0 rows affected, 1 warning (0.00 sec)  mysql> flush privileges; query ok, 0 rows affected (0.00 sec)  mysql> flush privileges; query ok, 0 rows affected (0.00 sec)  still got same error.. 


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -