mysql.servers Table
System tables should not normally be edited directly. Use the related SQL statements instead.
The mysql.servers
table contains information about servers as used by the Spider, FEDERATED or FederatedX, Connect storage engines.
The contents are modified by the CREATE SERVER, ALTER SERVER and DROP SERVER statements.
This table uses the Aria storage engine (until MariaDB 10.3, it used the MyISAM storage engine).
The mysql.servers
table contains the following fields:
Field | Type | Null | Key | Default | Description |
---|---|---|---|---|---|
Server_name | char(64) | NO | PRI | ||
Host | char(64) | NO | |||
Db | char(64) | NO | |||
Username | char(80) | NO | |||
Password | char(64) | NO | |||
Port | int(4) | NO | 0 | ||
Socket | char(64) | NO | |||
Wrapper | char(64) | NO | mysql or mariadb | ||
Owner | char(64) | NO |
Example
SELECT * FROM mysql.servers\G *************************** 1. row *************************** Server_name: s Host: 192.168.1.106 Db: test Username: Remote Password: Port: 0 Socket: Wrapper: mariadb Owner:
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.