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!

Get rid of database login 1

Status
Not open for further replies.

Jonah86

Programmer
Dec 11, 2003
152
US
I'm using Delphi 7, coneting to a MySQL database. Every time the program starts it promts the user for a login. I've been dealing with this, in the past, by just ignoring it and setting up a user/pass in ODBC so that the user can just hit "enter" on the login and not have to remember another password. But now I'm just getting annoyed by, as I just can't figure out how to get it to go away and it's starting to look a little unprofessional that I make them hit ok before the program starts.

Is there any way at all to get rid of this??

thanks.
 
Do you have a database component in the project somewhere? If so, this component has a property LOGIN which defaults to true, change that to false and the login prompt should stop appearing.

Leslie
 
I'm only using BDE SQLquery objects. I don't have a database component anywhere...and the queries don't have a login property.
 
Ah...added a databse object, and turned it off. Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top