-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: New DB creation
PostPosted: Thu Mar 08, 2007 7:13 am 
Newbie

Joined: Tue Jan 30, 2007 8:44 am
Posts: 6
Hi

I have set up a test database for working with hibernate, the only difference between my main and test databases is the word test appended to the end of the db name username and pwd, i.e. main db ABC, test db ABCtest, main pwd abc, test pwd abctest, main username abc, test username abctest, however when I change the parameters in the hibernate.cfg.xml file to the test details hibernate seems to try to connect to the main db but uses the test username and pwd with the following errors when trying to fetch records from the db....

Preparing the statement failed: Server user 'abctest' is not a valid user in database 'ABC'.

Server user 'abctest' is not a valid user in database 'ABC'.

Any ideas?

Thanks,

Mike.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.