Add instructions for using SQLiteNG to OpenSim.ini and config-include/StandaloneCommon.ini
Unfortunately, database settings need to be changed in two places.slimupdates
parent
847cc4fceb
commit
15d42d2111
|
@ -112,9 +112,11 @@
|
||||||
;storage_plugin = "OpenSim.Data.Null.dll"
|
;storage_plugin = "OpenSim.Data.Null.dll"
|
||||||
|
|
||||||
; --- To use sqlite as region storage:
|
; --- To use sqlite as region storage:
|
||||||
; NOTE: SQLite and OpenSim are not functioning properly with Mono 2.4.3 or greater.
|
; 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
|
||||||
; If you are using Mono you probably should be using MySQL
|
; do this by commenting out the OpenSim.Data.SQLite.dll line below and uncommenting the OpenSim.Data.SQLiteNG.dll one
|
||||||
|
; You will also need to do the same thing in config-include/StandaloneCommon.ini if you are running in standalone mode
|
||||||
storage_plugin = "OpenSim.Data.SQLite.dll"
|
storage_plugin = "OpenSim.Data.SQLite.dll"
|
||||||
|
; storage_plugin = "OpenSim.Data.SQLiteNG.dll"
|
||||||
storage_connection_string="URI=file:OpenSim.db,version=3";
|
storage_connection_string="URI=file:OpenSim.db,version=3";
|
||||||
|
|
||||||
; --- To use MySQL storage, supply your own connection string (this is only an example):
|
; --- To use MySQL storage, supply your own connection string (this is only an example):
|
||||||
|
|
|
@ -6,10 +6,14 @@
|
||||||
;
|
;
|
||||||
|
|
||||||
; SQLite
|
; SQLite
|
||||||
; Uncomment this line if you want to use sqlite storage
|
; Uncomment this line if you want to use sqlite storage with Mono 2.4
|
||||||
Include-Storage = "config-include/storage/SQLiteStandalone.ini";
|
Include-Storage = "config-include/storage/SQLiteStandalone.ini";
|
||||||
|
|
||||||
; For MySql.
|
; If you want to use sqlite with Mono 2.6 and above, uncomment this line instead.
|
||||||
|
; Don't forget to do the same thing for the storage_plugin setting in OpenSim.ini
|
||||||
|
; Include-Storage = "config-include/storage/SQLiteNGStandalone.ini";
|
||||||
|
|
||||||
|
; MySql
|
||||||
; Uncomment these lines if you want to use mysql storage
|
; Uncomment these lines if you want to use mysql storage
|
||||||
; Change the connection string to your db details
|
; Change the connection string to your db details
|
||||||
;StorageProvider = "OpenSim.Data.MySQL.dll"
|
;StorageProvider = "OpenSim.Data.MySQL.dll"
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
; These are the initialization settings for running OpenSim Standalone with an SQLite database
|
||||||
|
|
||||||
|
[DatabaseService]
|
||||||
|
StorageProvider = "OpenSim.Data.SQLiteNG.dll"
|
||||||
|
|
||||||
|
[AvatarService]
|
||||||
|
ConnectionString = "URI=file:avatars.db,version=3"
|
||||||
|
|
||||||
|
[AuthenticationService]
|
||||||
|
ConnectionString = "URI=file:auth.db,version=3"
|
||||||
|
|
||||||
|
[UserAccountService]
|
||||||
|
ConnectionString = "URI=file:userprofiles.db,version=3"
|
||||||
|
|
||||||
|
[FriendsService]
|
||||||
|
ConnectionString = "URI=file:friends.db,version=3"
|
Loading…
Reference in New Issue