Cel mai bine e sa testezi conexiunea asa.
1. Creezi un fisier test.php si dai paste cu datele tale aici

Cod PHP:
<?php
$con 
mysql_connect("localhost","numeBazaDeDate","parola");
if (!
$con)
  {
  die(
'Could not connect: ' mysql_error());
  }

// some code
?>
2. Rulezi fisier pe server

3. Dupa ce vezi ca merge actualizezi si wp-config