The most common reason for this in windows is that your PHP.INI doesn't have the mysql line uncommented, so it's not loading the mysql module (or ...
stackoverflow.com