The MySQL server is localhost. Your cPanel username and password will work, but it's better to set up another username and password set in cPanel for use with scripts. Note that database names and usernames other than your cPanel username must be prefixed with your cPanel username and an underscore (e.g. mrdos_wordpress).
--- Mr. DOS