MySQL Host Name in your cPanel Hosting Account
Most common question is what is your MySQL Host name when you connect with the Database ?
Since your files and database is hosted on same server your MySQL hostname is localhost even it hosted on the server.