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.
这条语句创建了用于FEDERATED存储引擎的服务器定义。CREATE SERVER语句在mysql数据库的servers表中创建一个新行。该语句需要SUPER权限。
The
shoserver_name