From d5baeb4690bac97c45faf591db600409beb8431d Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 7 May 2020 00:37:25 +0100 Subject: [PATCH] add SslMode=None to some connection strings --- bin/config-include/GridCommon.ini.example | 6 ++++-- bin/config-include/StandaloneCommon.ini.example | 8 +++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/bin/config-include/GridCommon.ini.example b/bin/config-include/GridCommon.ini.example index dc9928151b..9a8ad114db 100644 --- a/bin/config-include/GridCommon.ini.example +++ b/bin/config-include/GridCommon.ini.example @@ -11,12 +11,14 @@ ; MySql ; Uncomment these lines if you want to use mysql storage ; Change the connection string to your db details + ; Remove SslMode=None if you need secure connection to the local mysql + ; In most cases ssl is just a pure waste of resources, specially when mySql is on same machine, and closed to outside ;StorageProvider = "OpenSim.Data.MySQL.dll" - ;ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=***;Old Guids=true;" + ;ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=***;Old Guids=true;SslMode=None" ; Uncomment this line if you are using MySQL and want to use a different database for estates ; The usual application for this is to allow estates to be spread out across multiple simulators by share the same database. ; Most people won't need to do this so only uncomment if you know what you're doing. - ;EstateConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=***;Old Guids=true;" + ;EstateConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=***;Old Guids=true;SslMode=None" ; MSSQL ; Uncomment these lines if you want to use MSSQL storage diff --git a/bin/config-include/StandaloneCommon.ini.example b/bin/config-include/StandaloneCommon.ini.example index a4be88e9e4..1c9e01c1bc 100644 --- a/bin/config-include/StandaloneCommon.ini.example +++ b/bin/config-include/StandaloneCommon.ini.example @@ -10,14 +10,16 @@ ; MySql ; 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 detail + ; Remove SslMode=None if you need secure connection to the local mysql + ; In most cases ssl is just a pure waste of resources, specially when mySql is on same machine, and closed to outside ;StorageProvider = "OpenSim.Data.MySQL.dll" - ;ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=***;Old Guids=true;" + ;ConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=***;Old Guids=true;SslMode=None" ; Uncomment this line if you are using MySQL and want to use a different database for estates. ; The usual application for this is to allow estates to be spread out across multiple simulators by share the same database. ; Most people won't need to do this so only uncomment if you know what you're doing. - ;EstateConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=***;Old Guids=true;" + ;EstateConnectionString = "Data Source=localhost;Database=opensim;User ID=opensim;Password=***;Old Guids=true;SslMode=None" ; MSSQL ; Uncomment these lines if you want to use MSSQL storage