|
1: 2011-05-06 (金) 14:45:16 admin |
| + | ** Support of StandAlone mode for v0.7 [#nf42a9ad] |
| + | - You can not use Currency Server with SQLite. |
| + | - If you want to execute Currency Server with StandAlone mode, you should use MySQL DB. |
| | | |
| + | -- OpenSim.ini |
| + | [Startup] |
| + | .......................... |
| + | ; --- Null stores nothing - effectively disabling persistence: |
| + | ;storage_plugin = "OpenSim.Data.Null.dll" |
| + | .......................... |
| + | ;storage_plugin = "OpenSim.Data.SQLite.dll" |
| + | ;storage_plugin = "OpenSim.Data.SQLiteLegacy.dll" |
| + | ;storage_connection_string="URI=file:OpenSim.db,version=3"; |
| + | .......................... |
| + | storage_plugin="OpenSim.Data.MySQL.dll" |
| + | storage_connection_string="Data Source=localhost;Database=db_name;User ID=db_id;Password=db_password;" |
| + | |
| + | -- StandaloneCommon.ini |
| + | [DatabaseService] |
| + | .......................... |
| + | ; SQLite |
| + | ;Include-Storage = "config-include/storage/SQLiteStandalone.ini"; |
| + | .......................... |
| + | ; MySql |
| + | ; Uncomment these lines if you want to use mysql storage |
| + | ; Change the connection string to your db details |
| + | StorageProvider = "OpenSim.Data.MySQL.dll" |
| + | ConnectionString = "Data Source=localhost;Database=db_name;User ID=db_id;Password=db_password;" |
| + | |
| + | |
| + | -- And you should change ''[GridService]'' section at ''bin/config-include/StandaloneCommon.ini''. |
| + | -- Please enable ''StorageProvider = "OpenSim.Data.MySQL.dll:MySqlRegionData"'' line. |
| + | [GridService] |
| + | ;; For in-memory region storage (default) |
| + | ; StorageProvider = "OpenSim.Data.Null.dll:NullRegionData" |
| + | ;;--- For MySql region storage (alternative) |
| + | StorageProvider = "OpenSim.Data.MySQL.dll:MySqlRegionData" |
| + | |
| + | |
| + | -- In addition, please chage [PresenceService]section at ''bin/config-include/Standalone.ini'', too. |
| + | -- Please add ''StorageProvider = "OpenSim.Data.MySQL.dll:MySqlRegionData"''. |
| + | [PresenceService] |
| + | LocalServiceModule = "OpenSim.Services.PresenceService.dll:PresenceService" |
| + | ;;StorageProvider = "OpenSim.Data.Null.dll" |
| + | StorageProvider = "OpenSim.Data.MySQL.dll" |
| + | |
| + | #br |