maxdb_real_connect
Opens a connection to a MaxDB server
Description
Procedural style
boolmaxdb_real_connect
resourcelink
stringhostname
stringusername
stringpasswd
stringdbname
intport
stringsocket
maxdb_real_connect attempts to establish a
connection to a MaxDB database engine running on
hostname.
This function differs from maxdb_connect:
maxdb_real_connect needs a valid resource which has
to be created by function maxdb_init
With function maxdb_options you can set various options for connection.
&reftitle.returnvalues;
&return.success;
&reftitle.seealso;
maxdb_connect,
maxdb_init,
maxdb_options,
maxdb_ssl_set,
maxdb_close.
Example
Procedural style
]]>
The above examples would produce the following output:
]]>