Oracle 5.0 Reference Manual page 2820

Table of Contents

Advertisement

20.7.10.7. Mysqlnd_memcache Functions
Copyright 1997-2012 the PHP Documentation Group. [2230]
20.7.10.7.1.
mysqlnd_memcache_get_config
Copyright 1997-2012 the PHP Documentation Group. [2230]
mysqlnd_memcache_get_config
Returns information about the plugin configuration
Description
array mysqlnd_memcache_get_config(
mixed connection);
This function returns an array of all mysqlnd_memcache related configuration information that
is attached to the MySQL connection. This includes MySQL, the Memcache object provided via
mysqlnd_memcache_set, and the table mapping configuration that was automatically collected from
the MySQL Server.
Parameters
connection
Return Values
An array of mysqlnd_memcache configuration information on success, otherwise
The returned array has these elements:
Table 20.77.
Array Key
memcached
pattern
mappings
mapping_query
Mysqlnd Memcache plugin (mysqlnd_memcache)
A handle to a MySQL Server using one of the MySQL API
extensions for PHP, which are PDO_MYSQL,
mysqlnd_memcache_get_config
array structure
Description
Instance of Memcached associated to this MySQL
connection by mysqlnd_memcache_set. You
can use this to change settings of the memcache
connection, or directly by querying the server on
this connection.
The PCRE regular expression used to match the
SQL query sent to the server. Queries matching
this pattern will be further analyzed to decide
whether the query can be intercepted and sent
via the memcache interface or whether the query
is sent using the general MySQL protocol to the
server. The pattern is either the default pattern
(MYSQLND_MEMCACHE_DEFAULT_REGEXP) or it is
set via mysqlnd_memcache_set.
An associative array with a list of all configured
containers as they were discovered by this
plugin. The key for these elements is the name
of the container in the MySQL configuration. The
value is described below. The contents of this
field is created by querying the MySQL Server
during association to MySQL and a memcache
connection using mysqlnd_memcache_set.
An SQL query used during
mysqlnd_memcache_set
2800
mysqli
or ext/mysql.
.
FALSE
to identify the

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents