Use “localhost” as a Hostname.
Username and password to access the database shall be assigned by the user in control panel when creating the database. Do not forget to set privileges after creating database user, checking all boxes in MYSQL Databases in cPanel (Add a user to the database).