diff options
author | Justin Clark-Casey (justincc) | 2010-04-23 22:06:02 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-04-23 22:06:02 +0100 |
commit | 15d42d211161b304bc4281018b891a063be4612d (patch) | |
tree | 4f88bba4a0b074a88fc214340e144cd9c958de3a /bin | |
parent | remove [DatabaseService] section from OpenSim.ini since this is always presen... (diff) | |
download | opensim-SC_OLD-15d42d211161b304bc4281018b891a063be4612d.zip opensim-SC_OLD-15d42d211161b304bc4281018b891a063be4612d.tar.gz opensim-SC_OLD-15d42d211161b304bc4281018b891a063be4612d.tar.bz2 opensim-SC_OLD-15d42d211161b304bc4281018b891a063be4612d.tar.xz |
Add instructions for using SQLiteNG to OpenSim.ini and config-include/StandaloneCommon.ini
Unfortunately, database settings need to be changed in two places.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/OpenSim.ini.example | 6 | ||||
-rw-r--r-- | bin/config-include/StandaloneCommon.ini.example | 8 | ||||
-rw-r--r-- | bin/config-include/storage/SQLiteNGStandalone.ini | 16 |
3 files changed, 26 insertions, 4 deletions
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index 7d65e77..59bce36 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example | |||
@@ -112,9 +112,11 @@ | |||
112 | ;storage_plugin = "OpenSim.Data.Null.dll" | 112 | ;storage_plugin = "OpenSim.Data.Null.dll" |
113 | 113 | ||
114 | ; --- To use sqlite as region storage: | 114 | ; --- To use sqlite as region storage: |
115 | ; NOTE: SQLite and OpenSim are not functioning properly with Mono 2.4.3 or greater. | 115 | ; PLEASE NOTE: If you use want to use SQLite with Mono 2.6 and above, you must use the SQLiteNG plugin rather than the existing SQLite one |
116 | ; If you are using Mono you probably should be using MySQL | 116 | ; do this by commenting out the OpenSim.Data.SQLite.dll line below and uncommenting the OpenSim.Data.SQLiteNG.dll one |
117 | ; You will also need to do the same thing in config-include/StandaloneCommon.ini if you are running in standalone mode | ||
117 | storage_plugin = "OpenSim.Data.SQLite.dll" | 118 | storage_plugin = "OpenSim.Data.SQLite.dll" |
119 | ; storage_plugin = "OpenSim.Data.SQLiteNG.dll" | ||
118 | storage_connection_string="URI=file:OpenSim.db,version=3"; | 120 | storage_connection_string="URI=file:OpenSim.db,version=3"; |
119 | 121 | ||
120 | ; --- To use MySQL storage, supply your own connection string (this is only an example): | 122 | ; --- To use MySQL storage, supply your own connection string (this is only an example): |
diff --git a/bin/config-include/StandaloneCommon.ini.example b/bin/config-include/StandaloneCommon.ini.example index f89c67a..74bdbe2 100644 --- a/bin/config-include/StandaloneCommon.ini.example +++ b/bin/config-include/StandaloneCommon.ini.example | |||
@@ -6,10 +6,14 @@ | |||
6 | ; | 6 | ; |
7 | 7 | ||
8 | ; SQLite | 8 | ; SQLite |
9 | ; Uncomment this line if you want to use sqlite storage | 9 | ; Uncomment this line if you want to use sqlite storage with Mono 2.4 |
10 | Include-Storage = "config-include/storage/SQLiteStandalone.ini"; | 10 | Include-Storage = "config-include/storage/SQLiteStandalone.ini"; |
11 | 11 | ||
12 | ; For MySql. | 12 | ; If you want to use sqlite with Mono 2.6 and above, uncomment this line instead. |
13 | ; Don't forget to do the same thing for the storage_plugin setting in OpenSim.ini | ||
14 | ; Include-Storage = "config-include/storage/SQLiteNGStandalone.ini"; | ||
15 | |||
16 | ; MySql | ||
13 | ; Uncomment these lines if you want to use mysql storage | 17 | ; Uncomment these lines if you want to use mysql storage |
14 | ; Change the connection string to your db details | 18 | ; Change the connection string to your db details |
15 | ;StorageProvider = "OpenSim.Data.MySQL.dll" | 19 | ;StorageProvider = "OpenSim.Data.MySQL.dll" |
diff --git a/bin/config-include/storage/SQLiteNGStandalone.ini b/bin/config-include/storage/SQLiteNGStandalone.ini new file mode 100644 index 0000000..ba00aca --- /dev/null +++ b/bin/config-include/storage/SQLiteNGStandalone.ini | |||
@@ -0,0 +1,16 @@ | |||
1 | ; These are the initialization settings for running OpenSim Standalone with an SQLite database | ||
2 | |||
3 | [DatabaseService] | ||
4 | StorageProvider = "OpenSim.Data.SQLiteNG.dll" | ||
5 | |||
6 | [AvatarService] | ||
7 | ConnectionString = "URI=file:avatars.db,version=3" | ||
8 | |||
9 | [AuthenticationService] | ||
10 | ConnectionString = "URI=file:auth.db,version=3" | ||
11 | |||
12 | [UserAccountService] | ||
13 | ConnectionString = "URI=file:userprofiles.db,version=3" | ||
14 | |||
15 | [FriendsService] | ||
16 | ConnectionString = "URI=file:friends.db,version=3" | ||