Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delphi/Interbase: Users and Passwords

Status
Not open for further replies.

mandarine

Programmer
May 20, 2000
19
FR
Hello,

I'm with a big problem.

1. I have two databases:
blue.gdb
red.gdb

2. Well, when my program start runs I connect to "blue.gdb" and read some registers to load some variables to memory, before login (i need this database here). Then I show the form login asking for username and password. When he press the button I take the user and password and send to database "red.gdb". It works, because user is SYSDBA and password is masterkey.

3. I change SYSDBA password to "bigtest" in my interbase console. The problem is when I run my program it gives me an error: "The user and password is not defined."

4. My question is simple: The users/passwords is for database or for computer databases? And how do I solve my problem?
 
Are you using an alias / ODBC ?
Are you setting the username and password as parameters within a TDatabase component ?
It sounds as if you're firing the wrong username and / or password to the data-access components.
Hope that this sets you on the right course with things.
Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top