From bcd3a5b28bc63426e5ac1f4642afca4a391ece28 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Wed, 13 Feb 2008 12:06:09 +0000 Subject: * Introduced customizable table names on MySQL and MSSQL UserData plug-ins. [Provided by openlifegrid.com] --- bin/OpenSim.ini.example | 4 ++++ bin/mssql_connection.ini.example | 10 ++++++++++ bin/mysql_connection.ini.example | 10 ++++++++++ 3 files changed, 24 insertions(+) (limited to 'bin') diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index ce2f02e..2297fc4 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example @@ -76,8 +76,12 @@ physical_prim = true accounts_authenticate = true welcome_message = "Welcome to OpenSim" inventory_plugin = "OpenSim.Framework.Data.SQLite.dll" + +; User Data Database provider ; userDatabase_plugin = "OpenSim.Framework.Data.DB4o.dll" +; userDatabase_plugin = "OpenSim.Framework.Data.MySQL.dll" userDatabase_plugin = "OpenSim.Framework.Data.SQLite.dll" + default_location_x = 1000 default_location_y = 1000 dump_assets_to_file = false diff --git a/bin/mssql_connection.ini.example b/bin/mssql_connection.ini.example index c63d008..ceb277f 100644 --- a/bin/mssql_connection.ini.example +++ b/bin/mssql_connection.ini.example @@ -1,6 +1,16 @@ +; The IniConfig.cs that parses this file by just finding the first key={value} in the whole text so comments aren't really honoured. +; Also, this algorithm can probably lead to 'amusing' results in unfortunate cases. + [mssqlconnection] data_source=\SQLEXPRESS initial_catalog=database persist_security_info=True user_id=username password=password + +; These entries are only for if you, for some reason, wish to customize your user server table names. +; If ommitted, default values will be used. + +userstablename=users +userfriendstablename=userfriends +agentstablename=agents \ No newline at end of file diff --git a/bin/mysql_connection.ini.example b/bin/mysql_connection.ini.example index 7933bed..2fe469c 100644 --- a/bin/mysql_connection.ini.example +++ b/bin/mysql_connection.ini.example @@ -1,3 +1,6 @@ +; The IniConfig.cs that parses this file by just finding the first key={value} in the whole text so comments aren't really honoured. +; Also, this algorithm can probably lead to 'amusing' results in unfortunate cases. + [mysqlconnection] hostname=localhost database=database @@ -5,3 +8,10 @@ username=username password=password pooling=false port=3306 + +; These entries are only for if you, for some reason, wish to customize your user server table names. +; If ommitted, default values will be used. + +userstablename=users +userfriendstablename=userfriends +agentstablename=agents -- cgit v1.1