428d851913
* refactor: generic rename to mysql * refactor: g4 with mysql syntax * test: mysql syntax * refactor: remove useless keywords * refactor: remove nonReserved keywords * refactor: lint specificFunction --------- Co-authored-by: liuyi <liuyi@dtstack.com>
18 lines
499 B
SQL
18 lines
499 B
SQL
-- https://dev.mysql.com/doc/refman/8.0/en/create-server.html
|
|
|
|
/* 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
|
|
} */
|
|
|
|
CREATE SERVER server_name FOREIGN DATA WRAPPER mysql OPTIONS (USER 'Remote', HOST '198.51.100.106', DATABASE 'test');
|