Connects to MySQL Database.
resource mysql_connect ([ string $server = ini_get("mysql.default_host") [, string $username = ini_get("mysql.default_user") [, string $password = ini_get("mysql.default_password") [, bool $new_link = false [, int $client_flags = 0 ]]]]] )
Connects to MySQL Database.
This extension was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0.
The MySQLi or PDO_MySQL Should be used.
http://php.net/manual/en/function.mysql-connect.php