no, you do not use the cpanel user name and password for this, you use the MySQL Database Username and password.
the server hostname is the one address for the mysql server. If host gator is saying that it is the hostname with out the www, then try using that, but make sure you are using the correct username and password combination for the mysql database, again, this is not the cpanel username and password.