diff options
author | Justin Clark-Casey (justincc) | 2010-04-30 17:01:50 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-04-30 17:01:50 +0100 |
commit | 60dbc3c6ce5b9b78a29c0968951e96895c270241 (patch) | |
tree | f63cc25811a4f5823208da08f94e3ba9437ba6fe | |
parent | Add instructions for using SQLiteNG to OpenSim.ini and config-include/Standal... (diff) | |
download | opensim-SC_OLD-60dbc3c6ce5b9b78a29c0968951e96895c270241.zip opensim-SC_OLD-60dbc3c6ce5b9b78a29c0968951e96895c270241.tar.gz opensim-SC_OLD-60dbc3c6ce5b9b78a29c0968951e96895c270241.tar.bz2 opensim-SC_OLD-60dbc3c6ce5b9b78a29c0968951e96895c270241.tar.xz |
Make SQLiteNG the default since it actually does work with Mono 2.4 on Linux.
I know this is tough on Mac OSX users (since SQLiteNG requires the export of the sqlite3_column_origin_name symbol and this isn't present for the Mac OSX sqlite3 system library)
Unfortunately, I need to shaft somebody (as it were)
Diffstat (limited to '')
-rw-r--r-- | bin/OpenSim.ini.example | 12 | ||||
-rw-r--r-- | bin/config-include/StandaloneCommon.ini.example | 10 |
2 files changed, 13 insertions, 9 deletions
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index 59bce36..bbc6f78 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example | |||
@@ -112,11 +112,15 @@ | |||
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 | ; 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 | 115 | ; |
116 | ; do this by commenting out the OpenSim.Data.SQLite.dll line below and uncommenting the OpenSim.Data.SQLiteNG.dll one | 116 | ; PLEASE NOTE: Unfortunately, the SQLiteNG database plugin, while necessary to use sqlite with Mono on Linux, is |
117 | ; not compatible with the sqlite3 library installed on Mac OSX. If you're using Mono 2.4 you can still use the old sqlite | ||
118 | ; library by uncommenting the SQLite.dll storage plugin (and commenting out SQLiteNG). Unfortunately, the older library | ||
119 | ; will not work with Mono 2.6 on Mac OSX so you will either need to replace the sqlite3 system library or use MySQL instead | ||
120 | ; | ||
117 | ; You will also need to do the same thing in config-include/StandaloneCommon.ini if you are running in standalone mode | 121 | ; You will also need to do the same thing in config-include/StandaloneCommon.ini if you are running in standalone mode |
118 | storage_plugin = "OpenSim.Data.SQLite.dll" | 122 | storage_plugin = "OpenSim.Data.SQLiteNG.dll" |
119 | ; storage_plugin = "OpenSim.Data.SQLiteNG.dll" | 123 | ;storage_plugin = "OpenSim.Data.SQLite.dll" |
120 | storage_connection_string="URI=file:OpenSim.db,version=3"; | 124 | storage_connection_string="URI=file:OpenSim.db,version=3"; |
121 | 125 | ||
122 | ; --- To use MySQL storage, supply your own connection string (this is only an example): | 126 | ; --- 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 74bdbe2..58860d1 100644 --- a/bin/config-include/StandaloneCommon.ini.example +++ b/bin/config-include/StandaloneCommon.ini.example | |||
@@ -6,12 +6,12 @@ | |||
6 | ; | 6 | ; |
7 | 7 | ||
8 | ; SQLite | 8 | ; SQLite |
9 | ; Uncomment this line if you want to use sqlite storage with Mono 2.4 | 9 | Include-Storage = "config-include/storage/SQLiteNGStandalone.ini"; |
10 | Include-Storage = "config-include/storage/SQLiteStandalone.ini"; | ||
11 | 10 | ||
12 | ; If you want to use sqlite with Mono 2.6 and above, uncomment this line instead. | 11 | ; Unfortunately SQLiteNG is not compatible with Mac OSX. You can still use the older |
13 | ; Don't forget to do the same thing for the storage_plugin setting in OpenSim.ini | 12 | ; sqlite library if you are using Mono 2.4. Please see the notes in OpenSim.ini for sqlite |
14 | ; Include-Storage = "config-include/storage/SQLiteNGStandalone.ini"; | 13 | ; for more details |
14 | ;Include-Storage = "config-include/storage/SQLiteStandalone.ini"; | ||
15 | 15 | ||
16 | ; MySql | 16 | ; MySql |
17 | ; Uncomment these lines if you want to use mysql storage | 17 | ; Uncomment these lines if you want to use mysql storage |