# maxdb_close

# maxdb::close

(PECL maxdb >= 1.0)

maxdb_close -- maxdb::close — Closes a previously opened database connection

### 说明

过程化风格

maxdb_close ( resource `$link` ) : bool

面向对象风格

maxdb::close ( void ) : bool

The maxdb_close() function closes a previously opened database connection specified by the `link` parameter.

### 返回值

成功时返回 `TRUE`， 或者在失败时返回 `FALSE`。

### 参见

- maxdb_connect() - Open a new connection to the MaxDB server
- maxdb_init() - Initializes MaxDB and returns an resource for use with maxdb_real_connect
- maxdb_real_connect() - Opens a connection to a MaxDB server