Changes for page JDBC2XML Usage

Last modified by christoph_lechleitner@iteg_at on 2013-10-08 03.37:51

From version 2.1
edited by christoph_lechleitner@iteg_at
on 2012-08-03 06.12:17
Change comment: Examples of JDBC URLs, slight restructuring
To version 4.1
edited by wolfgang_glas@iteg_at
on 2012-10-12 05.10:42
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.christoph_lechleitner@iteg_at
1 +XWiki.wolfgang_glas@iteg_at
Content
... ... @@ -8,7 +8,7 @@
8 8  
9 9  The following command overview only shows the absolut minimal number of options.
10 10  
11 -Usually more options are needed, especially {{code language="none"}}--user{{/code}}, {{code language="none"}}--password{{/code}}, and (Linux only) {{code language="none"}}--jdbc-drivers{{/code}}.
11 +Usually more options are needed, especially {{code language="none"}}--user{{/code}}, {{code language="none"}}--password{{/code}}, and (Linux only, see bottom) {{code language="none"}}--jdbc-drivers{{/code}}.
12 12  
13 13  See far below for a full list of options, as well as examples for JDBC URLs.
14 14  
... ... @@ -60,12 +60,14 @@
60 60  
61 61  {{code language="none"}}
62 62  # MySQL
63 -jdbc:mysql://localhost:3306/MYDATABASE
63 +jdbc:mysql://localhost:3306/MYDATABASE?useCursorFetch=true
64 64   
65 65  # MSSQL
66 66  jdbc:sqlserver://localhost:1433;databaseName=MYDATABASE;
67 67  {{/code}}
68 68  
69 +The use of cursor fetching in mysql is highly recommended in order to circumvent java heap space exceptions while dumping the content of large tables.
70 +
69 69  == {{id name="JDBC2XMLUsage-Fulllistofoptions"/}}Full list of options ==
70 70  
71 71  ==== {{id name="JDBC2XMLUsage-Databaseaccess"/}}Database access ====
... ... @@ -252,3 +252,17 @@
252 252  {{code language="none"}}
253 253  --debug-startup
254 254  {{/code}}
257 +
258 +=== {{id name="JDBC2XMLUsage-Driverpackagesandpaths"/}}Driver packages and paths ===
259 +
260 +====== {{id name="JDBC2XMLUsage-MySQL-Driver"/}}MySQL-Driver ======
261 +
262 +{{code language="none"}}
263 +apt-get install libmysql-java
264
265 +jdbc2xml ... --jdbc-drivers /usr/share/java/mysql-connector-java.jar
266 +{{/code}}
267 +
268 +TBC.
269 +
270 +
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -656884
1 +656870
URL
... ... @@ -1,1 +1,1 @@
1 -https://clazzes.atlassian.net/wiki/spaces/JDBC2XML/pages/656884/JDBC2XML Usage
1 +https://clazzes.atlassian.net/wiki/spaces/JDBC2XML/pages/656870/JDBC2XML Usage