FBSQL_PCONNECT(3) 1 FBSQL_PCONNECT(3)fbsql_pconnect - Open a persistent connection to a FrontBase ServerSYNOPSIS
resource fbsql_pconnect ([string $hostname = ini_get("fbsql.default_host")], [string $username = ini_get("fbsql.default_user")], [string
$password = ini_get("fbsql.default_password")])
DESCRIPTION
Establishes a persistent connection to a FrontBase server.
To set the server port number, use fbsql_select_db(3).
fbsql_pconnect(3) acts very much like fbsql_connect(3) with two major differences:
First, when connecting, the function would first try to find a (persistent) link that's already open with the same host, username and
password. If one is found, an identifier for it will be returned instead of opening a new connection.
Second, the connection to the SQL server will not be closed when the execution of the script ends. Instead, the link will remain open for
future use.
This type of links is therefore called 'persistent'.
PARAMETERS
o $hostname
- The server host name.
o $username
- The user name for the connection.
o $password
- The password for the connection.
RETURN VALUES
Returns a positive FrontBase persistent link identifier on success, or FALSE on error.
SEE ALSO fbsql_connect(3).
PHP Documentation Group FBSQL_PCONNECT(3)
Check Out this Related Man Page
IFX_PCONNECT(3) 1 IFX_PCONNECT(3)ifx_pconnect - Open persistent Informix connectionSYNOPSIS
resource ifx_pconnect ([string $database], [string $userid], [string $password])
DESCRIPTION ifx_pconnect(3) acts very much like ifx_connect(3) with two major differences.
First, when connecting, the function would first try to find a (persistent) link that's already open with the same host, username and
password. If one is found, an identifier for it will be returned instead of opening a new connection.
Second, the connection to the SQL server will not be closed when the execution of the script ends. Instead, the link will remain open for
future use (ifx_close(3) will not close links established by ifx_pconnect(3)).
This type of links is therefore called 'persistent'.
PARAMETERS
All of the arguments are optional, and if they're missing, defaults are taken from values supplied in php.ini (ifx.default_host for the
host (Informix libraries will use INFORMIXSERVER environment value if not defined), ifx.default_user for user, ifx.default_password for the
password (none if not defined).
o $database
- The database name, as a string.
o $userid
- The username, as a string.
o $password
- The password, as a string.
RETURN VALUES
Returns: valid Informix persistent link identifier on success, or FALSE on errors.
SEE ALSO ifx_connect(3).
PHP Documentation Group IFX_PCONNECT(3)
Hi ,
I am a beginner to JAVA . I am having trouble understanding the RMI connection .
I am trying to write a server which does the following :
1. Establishes a connection with a co-ordinator called Dispatcher through RMI . The Dispatcher actually contains the list of Providers where the servers... (0 Replies)
hi buddies,
i want to learn something,so that we have several users on a sun server and via telnet, we are connecting to server same username and password root/something as root
and after connection i want to see what other roots or users are doing on the server, i want to see their command.... (2 Replies)
"421 service not available, remote server has closed connection."
I tried to do ftp to one of the unix server .
ftp hostname
password
It get connects when i do any command it throws error
ftp> ls
"421 service not available, remote server has closed connection." (1 Reply)
Dear all
i want to ssh to a server via running a shell script with a username and i want to hard code the password for that particular username
can u help me please
Thank u
Naree (8 Replies)
Hi all,
I have problem to set up a persistent oracle connection in child thread.
We have a massive batch process dealing with large data. Application was written and impossible to be rewritten. I am trying to extract the most time consuming data fetching and put it into a dedicated child... (3 Replies)
Hi All,
I need to execute a SQL via shell script and i am connecting to Oracle DB by this way $USERNAME1/$PASSWORD1@$STRING1 and i need to get username, password and string from someother file stored in the Unix Directory. $Username, $Password and $String is stored in File A in Path A and i want... (1 Reply)
Hi All,
I need to execute a SQL via shell script and i am connecting to Oracle DB by this way $USERNAME1/$PASSWORD1@$STRING1 and i need to get username, password and string from someother file stored in the Unix Directory. $Username, $Password and $String is stored in File A in Path A and i want... (3 Replies)
i am trying to make HACMP but when i add a persistent ip, error shows unable to determine address for 'UPIDGIS1_pers'
pls help me out
AIX - 5.3
HACMP -5.4
thanks (2 Replies)
Hi Gurus ,
How to find Hung connection in Unix Systems
I use ps -ef | grep "XXXX"
it lists out some conections..How to know what is hung connection in there.. (3 Replies)
hi everyone, i making script in KSH AIX server i n which i am calling sql connection, i want password and username stored in another directory and in my script it looks like
sqlpus -s $username/$password @eod.sql
and my username and password stored in file databaseconnection like this... (2 Replies)
I am trying to setup a password less connection from a Linux server to Window server and will be using a script to scp a file without using password.
Linux Server (source)
servername : testlinux
id : testbatch
Windows Server (Target)
servername : testwin
id : testwinlogin
I copied... (5 Replies)