Manual:config table

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


Manual:Contents <translate> MediaWiki database layout</translate> <translate> <tvar name=1>config</tvar> table</translate>
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.20</tvar> is unsupported version</translate>">
1.20
MediaWiki version:

The config table holds configuration changes.

This was introduced in rev:88270 and reverted in rev:111006. It was never actually used.

Fields

cf_name
(Describe me!)
cf_value
(Describe me!)
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.20</tvar> is unsupported version</translate>">
1.20
MediaWiki version:
mysql> DESCRIBE config;
+----------+----------------+------+-----+---------+-------+
| Field    | Type           | Null | Key | Default | Extra |
+----------+----------------+------+-----+---------+-------+
| cf_name  | varbinary(255) | NO   | PRI | NULL    |       |
| cf_value | blob           | NO   |     | NULL    |       |
+----------+----------------+------+-----+---------+-------+

Indexes

<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.20</tvar> is unsupported version</translate>">
1.20
MediaWiki version:

SHOW INDEX IN config;

+--------+------------+---------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| Table  | Non_unique | Key_name      | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |
+--------+------------+---------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| config |          0 | PRIMARY       |            1 | cf_name     | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| config |          1 | cf_name_value |            1 | cf_name     | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| config |          1 | cf_name_value |            2 | cf_value    | A         |           0 |      255 | NULL   |      | BTREE      |         |               |
+--------+------------+---------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+