|
ingres_connect
Open a connection to an Ingres database
(PHP 4 >= 4.0.2, PHP 5 <= 5.0.5, PECL ingres:1.0-1.4.3)
ingres_connect() opens a connection with the given Ingres database. The connection is closed when the script ends or when ingres_close() is called on this link. All the other ingres functions use the last opened link as a default, so you need to store the returned value only if you use more than one link at a time. Parameters
If some parameters are missing, ingres_connect()
uses the values in
ExamplesExample 1083. ingres_connect() example<?php Example 1084. ingres_connect() example using default link<?php
See Also
Code Examples / Notes » ingres_connecttdjunk
You need to connect with the user running your web server, be it apache, nobody, or system (on MS Windows). Hence you have to create a matching (username) Ingres user. Otherwise you may experience an Ingres Error : 790536 : Unable to authenticate client's user ID. See more information on the community forum : http://community.ingres.com/forums/viewtopic.php?t=1370 |
Change Languageingres_autocommit ingres_close ingres_commit ingres_connect ingres_cursor ingres_errno ingres_error ingres_errsqlstate ingres_fetch_array ingres_fetch_object ingres_fetch_row ingres_field_length ingres_field_name ingres_field_nullable ingres_field_precision ingres_field_scale ingres_field_type ingres_num_fields ingres_num_rows ingres_pconnect ingres_query ingres_rollback |