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>
19 lines
539 B
SQL
19 lines
539 B
SQL
-- https://dev.mysql.com/doc/refman/8.0/en/clone.html
|
|
|
|
/* CLONE clone_action
|
|
|
|
clone_action: {
|
|
LOCAL DATA DIRECTORY [=] 'clone_dir'
|
|
| INSTANCE FROM 'user'@'host':port
|
|
IDENTIFIED BY 'password'
|
|
[DATA DIRECTORY [=] 'clone_dir']
|
|
[REQUIRE [NO] SSL]
|
|
} */
|
|
|
|
|
|
CLONE LOCAL DATA DIRECTORY = 'clone_dir';
|
|
CLONE LOCAL DATA DIRECTORY 'clone_dir';
|
|
|
|
CLONE INSTANCE FROM root@127.0.0.1:3306 IDENTIFIED BY 'password' DATA DIRECTORY = 'clone_dir' REQUIRE NO SSL;
|
|
CLONE INSTANCE FROM root@127.0.0.1:3306 IDENTIFIED BY 'password' REQUIRE SSL;
|