You can deploy a MySQL instance using one of the following options:
- Option I: Allow HDP to deploy MySQL instance - On the master install machine, edit the - master-install-machine/gsInstaller/gsInstaller.properties- dbflavor=mysql - dbhost=$FQDN_of_MySQL_host_machine 
- On the master install machine, deploy a MySQL client. 
- Execute the auxiliary script - startMySql.sh:- sh master-install-machine/gsInstaller/startMySql.sh 
 
- Option II: Manually deploy MySQL - Connect to the host machine where you plan to deploy MySQL instance and from a terminal window, type: - For RHEL and CentOS: - yum install mysql-server 
- For SLES: - zypper install mysql 
 
- Start the instance. - For RHEL and CentOS: - /etc/init.d/mysqld start 
- For SLES: - /etc/init.d/mysqld start 
 
- Set the - rootuser password and remove unnecessary information from- logand- STDOUT- mysqladmin -u root password $password - mysqladmin -u root 2>&1 >/dev/null 
 


