I'm no expert but is $db_host="localhost" correct? Just an incling I have based on the MySQL knowledge I have.
Also, are you sure you have set up the databases and users correctly, for example no typing errors in usernames, database names and passwords, in your control panel?
Hope that helps

.