|
1: 2011-08-19 (金) 15:38:23 iseki |
| + | *** Support of StandAlone mode for v0.7 [#v6a1253e] |
| + | - You can not use [[XoopenSim>XoopenSim (E)]]/[[Modlos>Modlos (E)]] with SQLite. |
| + | - If you want to execute [[XoopenSim>XoopenSim (E)]]/[[Modlos>Modlos (E)]] with StandAlone mode, you should use MySQL DB. (MySQL settings are at OpenSim.ini, config-include/Standalone.ini and config-include/StandaloneCommon.ini) |
| + | -- 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" |