You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/README.rst
+19-16Lines changed: 19 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -23,37 +23,40 @@ Password Options
23
23
- ``-p, --prompt-mysql-password``: Prompt for MySQL password
24
24
- ``--mysql-password TEXT``: MySQL password
25
25
26
-
Table Options
27
-
""""""""""""""
26
+
Connection Options
27
+
""""""""""""""""""
28
28
29
-
- ``-t, --sqlite-tables TUPLE``: Transfer only these specific tables (space separated table names). Implies ``--without-foreign-keys`` which inhibits the transfer of foreign keys.
30
-
- ``-X, --without-foreign-keys``: Do not transfer foreign keys.
31
-
- ``-W, --ignore-duplicate-keys``: Ignore duplicate keys. The default behavior is to create new ones with a numerical suffix, e.g. 'existing_key' -> 'existing_key_1'
32
-
- ``-E, --mysql-truncate-tables``: Truncates existing tables before inserting data.
29
+
- ``-h, --mysql-host TEXT``: MySQL host. Defaults to localhost.
30
+
- ``-P, --mysql-port INTEGER``: MySQL port. Defaults to 3306.
31
+
- ``-S, --skip-ssl``: Disable MySQL connection encryption.
33
32
34
33
Transfer Options
35
34
""""""""""""""""
36
35
36
+
- ``-t, --sqlite-tables TUPLE``: Transfer only these specific tables (space separated table names). Implies ``--without-foreign-keys`` which inhibits the transfer of foreign keys.
37
+
- ``-E, --mysql-truncate-tables``: Truncates existing tables before inserting data.
38
+
- ``-K, --mysql-skip-create-tables``: Skip creating tables in MySQL.
37
39
- ``-i, --mysql-insert-method [UPDATE|IGNORE|DEFAULT]``: MySQL insert method. DEFAULT will throw errors when encountering duplicate records; UPDATE will update existing rows; IGNORE will ignore insert errors. Defaults to IGNORE.
40
+
- ``-J, --mysql-skip-transfer-data``: Skip transferring data to MySQL.
41
+
- ``--mysql-integer-type TEXT``: MySQL default integer field type. Defaults to INT(11).
42
+
- ``--mysql-string-type TEXT``: MySQL default string field type. Defaults to VARCHAR(255).
43
+
- ``--mysql-text-type [LONGTEXT|MEDIUMTEXT|TEXT|TINYTEXT]``: MySQL default text field type. Defaults to TEXT.
44
+
- ``--mysql-charset TEXT``: MySQL database and table character set. Defaults to utf8mb4.
45
+
` ``--mysql-collation TEXT``: MySQL database and table collation
46
+
- ``-T, --use-fulltext``: Use FULLTEXT indexes on TEXT columns. Will throw an error if your MySQL version does not support InnoDB FULLTEXT indexes!
47
+
- ``-X, --without-foreign-keys``: Do not transfer foreign keys.
48
+
- ``-W, --ignore-duplicate-keys``: Ignore duplicate keys. The default behavior is to create new ones with a numerical suffix, e.g. 'existing_key' -> 'existing_key_1'
38
49
- ``--with-rowid``: Transfer rowid columns.
39
50
- ``-c, --chunk INTEGER``: Chunk reading/writing SQL records
40
51
41
-
Connection Options
42
-
""""""""""""""""""
43
-
44
-
- ``-h, --mysql-host TEXT``: MySQL host. Defaults to localhost.
45
-
- ``-P, --mysql-port INTEGER``: MySQL port. Defaults to 3306.
46
-
- ``-S, --skip-ssl``: Disable MySQL connection encryption.
47
-
48
52
Other Options
49
-
""""""""""""""
53
+
"""""""""""""
50
54
51
-
- ``-T, --use-fulltext``: Use FULLTEXT indexes on TEXT columns. Will throw an error if your MySQL version does not support InnoDB FULLTEXT indexes!
0 commit comments