CREATE SERVER server_name
    FOREIGN DATA WRAPPER wrapper_name
    OPTIONS (option [, option] ...)
option: {
    HOST character-literal
  | DATABASE character-literal
  | USER character-literal
  | PASSWORD character-literal
  | SOCKET character-literal
  | OWNER character-literal
  | PORT numeric-literal
}
      This statement creates the definition of a server for use with the
      FEDERATED storage engine. The CREATE
      SERVER statement creates a new row in the
      servers table in the mysql
      database. This statement requires the
      SUPER privilege.
    
      The server_nameserver_name
      The wrapper_name
      For each option
        The OWNER option is currently not applied,
        and has no effect on the ownership or operation of the server
        connection that is created.
      The CREATE SERVER statement creates an entry in
      the mysql.servers table that can later be used
      with the CREATE TABLE statement
      when creating a FEDERATED table. The options
      that you specify are used to populate the columns in the
      mysql.servers table. The table columns are
      Server_name, Host,
      Db, Username,
      Password, Port and
      Socket.
    
For example:
CREATE SERVER s
FOREIGN DATA WRAPPER mysql
OPTIONS (USER 'Remote', HOST '198.51.100.106', DATABASE 'test');Be sure to specify all options necessary to establish a connection to the server. The user name, host name, and database name are mandatory. Other options might be required as well, such as password.
      The data stored in the table can be used when creating a
      connection to a FEDERATED table:
    
CREATE TABLE t (s1 INT) ENGINE=FEDERATED CONNECTION='s';For more information, see Section 18.8, “The FEDERATED Storage Engine”.
      CREATE SERVER causes an implicit commit. See
      Section 15.3.3, “Statements That Cause an Implicit Commit”.
    
      CREATE SERVER is not written to the binary log,
      regardless of the logging format that is in use.