mirror of
https://github.com/opensim/opensim.git
synced 2026-06-26 00:15:39 +08:00
plumb in connection string to the user database paths. mysql and mssql
just ignore this for now, but it lets us get connect strings to sqlite and nhibernate.
This commit is contained in:
@@ -55,10 +55,10 @@ namespace OpenSim.Data.MySQL
|
||||
/// <summary>
|
||||
/// Loads and initialises the MySQL storage plugin
|
||||
/// </summary>
|
||||
override public void Initialise()
|
||||
override public void Initialise(string connect)
|
||||
{
|
||||
// Load from an INI file connection details
|
||||
// TODO: move this to XML? Yes, PLEASE!
|
||||
// TODO: actually do something with our connect string
|
||||
// instead of loading the second config
|
||||
|
||||
IniFile iniFile = new IniFile("mysql_connection.ini");
|
||||
string settingHostname = iniFile.ParseFileReadValue("hostname");
|
||||
|
||||
Reference in New Issue
Block a user