If it's an x10hosting MySQL DB, be aware that:
-the db hostname should likely be "localhost"
-the db username is what is shown in cPanel
-the db name will *always* have your username prepended.
For example, if your id is "artois123" then all your databases will be name...