This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-24. For the latest, interactive version please visit https://mariadb.com/kb/.

mysql.servers Table

The mysql.servers table contains information about servers as used by the Spider, FEDERATED or FederatedX, Connect storage engines (see CREATE SERVER).

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:

FieldTypeNullKeyDefaultDescription
Server_namechar(64)NOPRI
Hostchar(64)NO
Dbchar(64)NO
Usernamechar(80)NO
Passwordchar(64)NO
Portint(4)NO0
Socketchar(64)NO
Wrapperchar(64)NOmysql or mariadb
Ownerchar(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.