[eluser]elvix[/eluser]
you have two problems:
first change $db1 to $db and rename your 2nd db to something that's not 'default' -- $db['somethingelse'].
Second, set pconnect on your second db to false. You cannot have two db connections with persistent connections. You shouldn't see a noticeable performance hit.