Connection to MySQL Database stalls in CentOS 7

Hi,
As i have faced issue with MariaDB in CentOS 7 which i have mentioned in the issue across Database white screen in setup [CentOS 7] and today tried with mysql, but faced the same issue in CentOS 7.
The connection to the database got stalled after executing the line if (@mysql_connect($server, $username, $password)) from the file “application/modules/setup/libraries/Lib_mysql.php”.
I need support in resolving the issue.

Thanks
Vijay

Last Update 14.05.2015 (added to issue tracker)