ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject incubator-ignite git commit: # IGNITE-32: MySQL preset.
Date Thu, 29 Jan 2015 06:33:52 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-32 dae3e16ed -> 61d201623


# IGNITE-32: MySQL preset.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/61d20162
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/61d20162
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/61d20162

Branch: refs/heads/ignite-32
Commit: 61d201623f5e77843b9a9e156b58535df9b05d91
Parents: dae3e16
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Thu Jan 29 13:33:52 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Thu Jan 29 13:33:52 2015 +0700

----------------------------------------------------------------------
 .../java/org/apache/ignite/schema/ui/SchemaLoadApp.java   | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/61d20162/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/SchemaLoadApp.java
----------------------------------------------------------------------
diff --git a/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/SchemaLoadApp.java
b/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/SchemaLoadApp.java
index 07467e6..3a07d3e 100644
--- a/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/SchemaLoadApp.java
+++ b/modules/schema-load/src/main/java/org/apache/ignite/schema/ui/SchemaLoadApp.java
@@ -55,6 +55,7 @@ public class SchemaLoadApp extends Application {
         "DB2",
         "Oracle",
         "Microsoft SQL Server",
+        "MySQL",
         "Custom server..."};
 
     /** Jdbc drivers. */
@@ -63,6 +64,7 @@ public class SchemaLoadApp extends Application {
         "db2jcc4.jar",
         "ojdbc6.jar",
         "sqljdbc41.jar",
+        "mysql-connector-java-5-bin.jar",
         "jdbc.jar"};
 
     /** Jdbc drivers. */
@@ -71,14 +73,16 @@ public class SchemaLoadApp extends Application {
         "com.ibm.db2.jcc.DB2Driver",
         "oracle.jdbc.OracleDriver",
         "com.microsoft.sqlserver.jdbc.SQLServerDriver",
+        "com.mysql.jdbc.Driver",
         "org.custom.Driver"};
 
     /** Jdbc urls. */
     private static final String[] JDBC_URLS = {
         "jdbc:h2:_path_to_db_",
-        "jdbc:db2://server_name_or_ip:port/some_db",
-        "jdbc:oracle:thin:@server_name_or_ip:port:some_db",
-        "jdbc:sqlserver://server_name_or_ip:port;databaseName=some_db",
+        "jdbc:db2://[host]:[port]/[database]",
+        "jdbc:oracle:thin:@[host]:[port]:[database]",
+        "jdbc:sqlserver://[host]:[port];databaseName=[database]",
+        "jdbc:mysql://[host][,failoverhost...]:[port]/[database]",
         "jdbc:custom"};
 
     /** */


Mime
View raw message