Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

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.