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]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

While deploying mysql via a Blueprint , can i set root password mysql ? So properties for mysql is available ?

avatar
Explorer

Hello Team,

I need to know the configuration properties to set in blueprint for MYSQL. I need to set the root password while enabling the mysql component via blueprint.

Thanks

1 ACCEPTED SOLUTION

avatar
Master Guru
@ranjith

AFAIK, We cannot set root password for mysql using Ambari blueprints. Setting root password requires mysqladmin etc. mysql commands and with Ambari blueprints, we can only set mysql password for daemon users for metastore databases like Oozie/Hive etc.

View solution in original post

3 REPLIES 3

avatar
Super Guru

++ @Kuldeep Kulkarni Can you help...

avatar
Master Guru
@ranjith

AFAIK, We cannot set root password for mysql using Ambari blueprints. Setting root password requires mysqladmin etc. mysql commands and with Ambari blueprints, we can only set mysql password for daemon users for metastore databases like Oozie/Hive etc.

avatar
Explorer

@Kuldeep Kulkarni , thanks , can we create new user/DB with admin privilege in mysql ? like we set in hive connection properties ? incase Ranger required to create a DB (rangerdb) and user, if db not exist hive can create a DB and connection user, like wise Ranger dont have the properties ? If i automate HIVE and RANGER for new cluster deployment, how i can use HIVE mysql DB for Ranger, without mysqladmin commands , all i have to do in blueprint only.