Hi,
Can you make sure that your localhost is working by typing http://localhost/ in your browser after running XAMPP.
Did you use manual installation? If yes then use these:
/** The name of the database for WordPress */
define('DB_NAME', 'dbname');
/** MySQL database username */
define('DB_USER', 'root');
/** MySQL database password */
define('DB_PASSWORD', '');
/** MySQL hostname */
define('DB_HOST', 'localhost');
Also check your table prefix:
$table_prefix = 'wp_';