Database Hostname Wrong on Import

I’ve imported a site and the MySQL server hostname is showing as: localhost’); // 99% chance you won

It’s including part of the wp-config.php comment. The WordPress site works locally using “localhost” in the wp-config.php but adminer won’t launch and I can’t connect using sequel pro. Is there a way to modify the hostname?

Adminer is working. I added a test site without importing the the hostname is correct. I can’t connect using sequel pro now though. Is the port the default of 3306?