You can use the following library if you do not have mysql_connect enabled by have PDO enabled:
https://github.com/AzizSaleh/mysql
Copy those files to a folder and then in your wordpress wp-includes/load.php file replace the following two lines:
wp_load_translations_early();
die( __( 'Your PHP installation appears to be missing the MySQL extension which is required by WordPress.' ) );
With the following:
$pathToMySQL = 'C:\\xampp\\htdocs\\mysql\\';
require_once($pathToMySQL . 'MySQL_Definitions.php');
require_once($pathToMySQL . 'MySQL.php');
require_once($pathToMySQL . 'MySQL_Functions.php');