| PHP » GoLang | login |
            register |
            
            about | 
| GoLang cubrid_connect_with_url
                                request it (764)
                            GoLang replacement for PHP's cubrid_connect_with_url
                            [edit | history] 
                             cubrid_connect_with_url(PECL CUBRID >= 8.3.1) cubrid_connect_with_url — Establish the environment for connecting to CUBRID server Description
   resource cubrid_connect_with_url
    ( string  $conn_url[, string$userid[, string$passwd[, bool$new_link=FALSE]]] )The cubrid_connect_with_url() function is used to establish the environment for connecting to your server by using connection information passed with an url string argument. If the HA feature is enabled in CUBRID, you must specify the connection information of the standby server, which is used for failover when failure occurs, in the url string argument of this function. If the user name and password is not given, then the "PUBLIC" connection will be made by default. <url> ::= CUBRID:<host>:<db_name>:<db_user>:<db_password>:[?<properties>] <properties> ::= <property> [&<property>] <properties> ::= alhosts=<alternative_hosts>[ &rctime=<time>] <properties> ::= login_timeout=<milli_sec> <properties> ::= query_timeout=<milli_sec> <properties> ::= disconnect_on_query_timeout=true|false <alternative_hosts> ::= <standby_broker1_host>:<port> [,<standby_broker2_host>:<port>] <host> := HOSTNAME | IP_ADDR <time> := SECOND <milli_sec> := MILLI SECOND 
 
 
 Parameters
 
 Return ValuesConnection identifier, when process is successful. 
    ExamplesExample #1 cubrid_connect_with_url() url without properties example 
<?phpExample #2 cubrid_connect_with_url() url with properties example 
<?phpSee Also
 
 | 
                    more
                     Most requested
 
                    more
                     Last requests
 |