文字

maxdb_init

(PECL maxdb >= 1.0)

maxdb_initInitializes MaxDB and returns an resource for use with maxdb_real_connect

说明

resource maxdb_init ( void )

Allocates or initializes a MaxDB resource suitable for maxdb_options() and maxdb_real_connect() .

Note:

Any subsequent calls to any maxdb function (except maxdb_options() ) will fail until maxdb_real_connect() was called.

返回值

Returns an resource.

参见

  • maxdb_options() - Set options
  • maxdb_close() - Closes a previously opened database connection
  • maxdb_real_connect() - Opens a connection to a MaxDB server
  • maxdb_connect() - Open a new connection to the MaxDB server
上一篇: 下一篇: