according to the host gator support page, the server should be localhost:
how-to-connect-to-the-mysql-database
this page also hints that the database name will be in the following format:
cpanelusername_databasename
and the username will use this format:
cpanelusername_databaseusername