AllExperts > Ingres 
Search      
Ingres
Volunteer
Answers to thousands of questions
 Home · More Ingres Questions · Answer Library  · Encyclopedia ·
More Ingres Answers
Question Library

Ask a question about Ingres
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Jean-Pierre Zuate
Expertise
Any questions about database Ingres (owned by Computer Associates then Ingres Corp) : - Ingres 6.4 - OpenINGRES from 1.0 to 2.0 - IngresII from 2.0 to 2.6 - Ingres R3, Ingres 2006 (Open Source version) - All tool around Ingres : ABF, Report Writer, Replicator, OpenROAD (3.5 to 2006), Ingres/NET Ingres/STAR, ...

Experience
16 years of computing experience as :
- AS400 programmer
- AIX / Ingres administrator and developer (OpenROAD and korn shell)
- Ingres DataBase Administrator
- Ingres expert - Data modelisation - ETL - Reporting - Many of Computer Associates sofwares - ITIL / CMDB / Change Management

Organizations
http://lafageconseil.fr

 
   

You are here:  Experts > Computing/Technology > Databases > Ingres > Connecting using dotnet

Ingres - Connecting using dotnet


Expert: Jean-Pierre Zuate - 9/5/2005

Question
Hello.

I have installed ingres.
I have created the user tester and have created my database under this user.

My problem seems to be when I try connecting to the database as this user. I have used odbc and dotnet and each are complaining of bad username/password.

Do I have to do something in particular to enable me to connect to this database as these users?

Thank you

Andreas

Answer
Hello Andreas,

First, you must distinct 2 way of working with users : os mode and Ingres mode.

In Ingres world, you do not need a ling 1 for 1 between OS user and Ingres User. The owner of a database must exist in Ingres (cf accessdb) but do not exist necessary on OS (/etc/passwd for Unix and so on).

In your case when you try to access your database via ODBC you are using a node (Ingres/NET, cf netutil).

When Ingres complain about user and password it mean "os user and os password". Your client app (ODBC in fact) use and ingres node (created or updated via netutil) to connect to the remote machine (the machine where Ingres is installed). In this case the user and password mentionned in the node must match with the server definition.

If you are on the same machine (on Windows for example) and Ingre still complain about password it is perhaps because the user (OS level) you are using to connect to is not known by Ingres. For example :
1/ I install Ingres R3 as user "mat" on WNT
2/ logoff and logon with the user "bob"
3/ as "bob" is not known in accessdb, the command "isql iidbdb" will prompt for a password

Hope this help,
Jean-Pierre ZUATE

Add to this Answer   Ask a Question


 
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.