BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TSQLConnection wont change user

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress)
View previous topic :: View next topic  
Author Message
Jonas
Guest





PostPosted: Tue Feb 15, 2005 5:47 pm    Post subject: TSQLConnection wont change user Reply with quote



Hi,

I got a TSQLConnection connected to a interbase database, but Im having
trouble changing the user during runtime.
By setting the "Connected" property to False of the TSQLConnection,
I can see in the IBConsole that the SYSDBA user disconnects. And after
that I set the TSQLConnection user_name and password params to match my
new user, and thereafter I set "Connected" property to true again.
But the user that shows up on the "IBConsole Connected users list" are
still SYSDBA. So for some reason it does not "kill" the connection with the
old user.

It does work to log in directly with my new user so there cant be any
problem with that particular user.

Any help are much appriciated
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress) All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.