In your public_html (or where your WordPress is located). Open wp-config.php.
Where it says
Code:
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
change localhost to mysql.x10hosting.com
So it says
Code:
define('DB_HOST', 'mysql.x10hosting.com'); // 99% chance you won't need to change this value
If it already says mysql.x10hosting.com, then idk :P
Also, double check that these values are correct:
Code:
define('DB_NAME', 'CPANELTHINGY_Wordpressorweyourdbnameis'); // The name of the database
define('DB_USER', 'CPANELTHINGY_lolhiusernamehere'); // Your MySQL username
define('DB_PASSWORD', 'lolgoodpasswordhere'); // ...and password