multi-db - Error establishing a database connection

Hi, I have followed step by step the instructions to implement the multi-db (256) and the process went all right.

However, when I visit my test site all I have is the message "Error establishing a database connection".

I wonder if I have to edit something on wp-config.php as my db name was "dbname" and now the db names are dbname_global and dbname_00 ... to ... dbname_ff

Yes, sure, I have created all the db's and granted privileges to the db user.

I have tried to edit wp-config.php replacing define('DB_NAME', 'dbname'); with define('DB_NAME', 'dbname_global');

But no success in making it works...