aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MSSQL
diff options
context:
space:
mode:
authorSean Dague2008-05-28 18:12:32 +0000
committerSean Dague2008-05-28 18:12:32 +0000
commit11d83cb737ebb12a3e6ae6c63551a0d010b90211 (patch)
treedf8ea9fc80ba896fb528a5fc2af5d94d97f361e6 /OpenSim/Data/MSSQL
parentlet Grid Servers specify a connect string in their configuration. (diff)
downloadopensim-SC_OLD-11d83cb737ebb12a3e6ae6c63551a0d010b90211.zip
opensim-SC_OLD-11d83cb737ebb12a3e6ae6c63551a0d010b90211.tar.gz
opensim-SC_OLD-11d83cb737ebb12a3e6ae6c63551a0d010b90211.tar.bz2
opensim-SC_OLD-11d83cb737ebb12a3e6ae6c63551a0d010b90211.tar.xz
actually user the database_connect string for mysql.
This means you can run all the OpenSim grid services without needing a mysql_connection.ini
Diffstat (limited to 'OpenSim/Data/MSSQL')
-rw-r--r--OpenSim/Data/MSSQL/MSSQLInventoryData.cs8
1 files changed, 0 insertions, 8 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLInventoryData.cs b/OpenSim/Data/MSSQL/MSSQLInventoryData.cs
index 69d45f7..0c1c3f1 100644
--- a/OpenSim/Data/MSSQL/MSSQLInventoryData.cs
+++ b/OpenSim/Data/MSSQL/MSSQLInventoryData.cs
@@ -48,17 +48,9 @@ namespace OpenSim.Data.MSSQL
48 /// </summary> 48 /// </summary>
49 private MSSQLManager database; 49 private MSSQLManager database;
50 50
51 /// <summary>
52 /// Loads and initialises this database plugin
53 /// </summary>
54 public void Initialise(string connect) 51 public void Initialise(string connect)
55 { 52 {
56 // TODO: actually use the provided connect string 53 // TODO: actually use the provided connect string
57 Initialise();
58 }
59
60 public void Initialise()
61 {
62 IniFile GridDataMySqlFile = new IniFile("mssql_connection.ini"); 54 IniFile GridDataMySqlFile = new IniFile("mssql_connection.ini");
63 string settingDataSource = GridDataMySqlFile.ParseFileReadValue("data_source"); 55 string settingDataSource = GridDataMySqlFile.ParseFileReadValue("data_source");
64 string settingInitialCatalog = GridDataMySqlFile.ParseFileReadValue("initial_catalog"); 56 string settingInitialCatalog = GridDataMySqlFile.ParseFileReadValue("initial_catalog");