The server is running cos it's telling you it doesn't want to play.
Is this a database you created yourself?
As said you'll have to look at the grant permissions for the database, maybe if you tell us the database name, the username, the access rights (read/write) you want them to have and where you want to allow them to access from ie. localhost only or any computer we can tell you but beyond that there's not alot more we can do
Also if you try and access using a password and the user doesn't have a password set this error can get thrown up too.
ANd catch that exception