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:
Sean Dague
2008-05-02 18:59:12 +00:00
parent 72a7c2e2bb
commit 1b7f1c956c
10 changed files with 39 additions and 22 deletions

View File

@@ -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");