The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Without really knowing much about that particular message, I can tell you that it would be wise to do a couple of quick tests..

Try logging-in to your database system directly, without using JDBC. If the name & pwd you are trying to use works, then you can safely say that you have a JDBC issue and not a database permission issue. If you are using SQL Server, for example, you can use Query Analyzer or Enterprise manager to log in, directly.

In an attempt to rule out another layer, here, why don't you try pinging the database server from the machine in which you are trying to establish a database connection. This would tell you whether or not two machines have network connectivity.