Server Hostname: localhost
Database Username: <your username>_<database name>
e.g. myuser_demo
Database Password: <password you set>
Make sure once you have created your database and user in cPanel that you add permissions so that your database user can access the relevant database(s).