diff src/main/java/de/mpiwg/gazetteer/utils/DBService.java @ 63:fc5116de601f

config to SBB server
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Mon, 25 Jul 2016 11:14:59 +0200
parents 90d5e86c157d
children f106f2487ac1
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/gazetteer/utils/DBService.java	Mon Jul 18 17:35:32 2016 +0200
+++ b/src/main/java/de/mpiwg/gazetteer/utils/DBService.java	Mon Jul 25 11:14:59 2016 +0200
@@ -34,7 +34,11 @@
 	
 	// JDBC driver name and database URL
 	static final String JDBC_DRIVER = "com.mysql.jdbc.Driver";
-	static final String DB_URL = "jdbc:mysql://localhost/";	// TODO: when move Gazetteer database to SBB, need to re-config this
+	
+	
+	//static final String DB_URL = "jdbc:mysql://localhost/";
+	static final String DB_URL = "jdbc:mysql://194.94.134.66/";	// TODO: when move Gazetteer database to SBB, need to re-config this
+																// replace the IP with SBB's host IP: 194.94.134.66
 	
 	private static String SECTIONS_TABLE = "sections_index";