Configuring MySQL for Oozie
You must install MySQL, create the Oozie database and MySQL user, and add the MySQL JDBC driver jar file to Oozie.
You must install MySQL, create the Oozie database and MySQL user, and add the MySQL JDBC driver jar file to Oozie.
For example, using the MySQL mysql
command-line tool:
$ mysql -u root -p Enter password: mysql> create database oozie default character set utf8; Query OK, 1 row affected (0.00 sec) mysql> grant all privileges on oozie.* to 'oozie'@'localhost' identified by 'oozie'; Query OK, 0 rows affected (0.00 sec) mysql> grant all privileges on oozie.* to 'oozie'@'%' identified by 'oozie'; Query OK, 0 rows affected (0.00 sec) mysql> exit Bye
/var/lib/oozie/
/opt/cloudera/parcels/CDH/lib/oozie/lib/