Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Reply To: Ranger Install Service fails because of mysql driver

$
0
0

Hi Michael,

root is not only a Linux user in the VM, but also a user in MySql. During the Ranger setup in Ambari you are required to give root’s password, and it is not allowed to leave it empty.

However, MySql root user is created with no password, so you need to set it prior to run the Ranger setup in Ambari.

Open a SSH session with root, and log in MySQL with root:

mysql

or mysql -u root -p (click on Enter when prompted for password).

If you run next query, you’ll see that user root doesn’t have a password:

select * from mysql.user;

 

Add the password to root:

update mysql.user set password = PASSWORD(‘hadoop’) where password = ”;

flush privileges;

Then you can continue with the Ranger setup in Ambari.

I posted all the steps I followed to setup Ranger here.


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>