Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 06-27-2017 12:44 PM
Hi,
Getting these two errors when trying to install ranger,
Internal Exception: java.sql.SQLException: No database selected Error Code: 1046
[E] applying java patch PatchPasswordEncryption_J10001 failed
When I googled regarding this,
ranger-admin-site.xml has bad/missing values for:
- ranger.externalurl
- ranger.jpa.audit.jdbc.url
- ranger.jpa.jdbc.url
Of which I have only one property configured in my blueprint(ranger.jpa.jdbc.url) what should be the values of this..
It was jdbc:mysql://ip_of_ranger_host
Then I changed it to jdbc:mysql://ip_of_ranger_host/ranger
Thanks in Advance!
Created 06-27-2017 10:58 PM
This error is seen when JDBC URL(ranger.jpa.jdbc.url) is not correct. Does the test connection work? Is the database on ranger host? Can you try:
jdbc:mysql://ip_of_DB_host:DBPORT/ranger
Created 06-27-2017 10:58 PM
This error is seen when JDBC URL(ranger.jpa.jdbc.url) is not correct. Does the test connection work? Is the database on ranger host? Can you try:
jdbc:mysql://ip_of_DB_host:DBPORT/ranger
Created on 06-28-2017 07:27 AM - edited 08-17-2019 08:10 PM