On the server where P6 is installed, rerun the dbconfigpv.sh/cmd and reconfigure the database connection. Also run adminpv.sh/cmd. Login with privuser and check the database connection there. Test to see that it is able to connect to the database. If you change any setting then restart weblogic server for the change to take effect.