Hi Anuj,
In the install.log file, there are the following relevant entries:
[2016-09-08 00:20:12,755] INFO [InstallerLog] [validateDatabase:342] - Validating the Database properties
[2016-09-08 00:20:12,755] INFO [InstallerLog] [validateDatabase:381] - Validating database properties for MySQL database
[2016-09-08 00:20:12,755] INFO [InstallerLog] [validateWithDBname:42] - Got port number or instance name as mysql: 3306
[2016-09-08 00:20:13,083] ERROR [InstallerLog] [validateWithDBname:89] - Unable to connect to mysql database
[2016-09-08 00:20:13,083] ERROR [InstallerLog] [validateWithDBname:90] - Exception :For input string: "mysql"
[2016-09-08 00:20:13,083] ERROR [InstallerLog] [validateWithDBname:91] - DatabaseServerMain returned with code :16299
[2016-09-08 00:20:13,083] INFO [InstallerLog] [main:202] - Preinstall check failed with following errors
[2016-09-08 00:20:13,099] ERROR [InstallerLog] [readerrorlog:291] - 16104: Incorrect Application Server Directory
[2016-09-08 00:20:13,099] ERROR [InstallerLog] [main:218] - 16299: Database Server Validation Failed
It looks like there is a typo in the sample.properties file:
dbPortOrInstance=mysql: 3306
Please remove the "mysql".
This is what is expected in the sample.properties file:
dbPortOrInstance=3306
Thanks,
Silvio