-
Notifications
You must be signed in to change notification settings - Fork 78
/
sample_config.xml
executable file
·41 lines (36 loc) · 1.62 KB
/
sample_config.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0" encoding="UTF-8"?>
<root>
<!--
<source> - a connection string to your MySql database.
Please ensure, that you have defined your connection string properly.
Ensure, that details like 'charset=UTF8' are included in your connection string (if necessary).
-->
<source>mysql:host=localhost;port=3306;dbname=your_db_name;charset=UTF8,your_user_name,your_password</source>
<!--
<target> - a connection string to your PostgreSql database.
Please ensure, that you have defined your connection string properly.
Ensure, that details like options='[double dash]client_encoding=UTF8' are included in your connection string (if necessary).
-->
<target>pgsql:host=localhost;port=5432;dbname=your_pg_db_name;options=--client_encoding=UTF8,your_user_name,your_password</target>
<!--
<encoding> - PHP encoding type.
If not supplied, then UTF-8 will be used as a default.
-->
<encoding>UTF-8</encoding>
<!--
<schema> - a name of the schema, that will contain all migrated tables.
If not supplied, then a new schema will be created automatically.
-->
<schema>public</schema>
<!--
During migration each table's data will be split into chunks of <data_chunk_size> (in MB).
If not supplied, then 10 MB will be used as a default.
-->
<data_chunk_size>10</data_chunk_size>
<!--
Flag, that allows to migrate only the data.
By default, ti is 0 - entire db-structure + data
In order to migrate data only - set 1
-->
<data_only>0</data_only>
</root>