cPanel --> phpMyAdmin
Create a user. If you call him "foo" his full name will be "yourcPanelUserName_foo" . Write down the password.
Add him to your database with ALL PRIVILEGES checked.
Using PHP, the host name is "localhost" and the username, password, database name (remember it starts...