You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/admin/configuration/database.md
+34-4
Original file line number
Diff line number
Diff line change
@@ -230,7 +230,8 @@ Example configuration:
230
230
# Microsoft SQL Server
231
231
232
232
For now, MS SQL is only supported in Unix-like OS'es. You need to have
233
-
[`unixODBC`](http://www.unixodbc.org/) installed on your machine.
233
+
[`unixODBC`](http://www.unixodbc.org/) installed on your machine, and your Erlang/OTP
234
+
must be compiled with ODBC support.
234
235
Also, in some cases you need to add machine name to `sql_username`, especially
235
236
when you have `sql_server` defined as an IP address, e.g.:
236
237
@@ -240,10 +241,39 @@ when you have `sql_server` defined as an IP address, e.g.:
240
241
...
241
242
sql_username: user1@host
242
243
243
-
By default, ejabberd will use the [`FreeTDS`](https://www.freetds.org/) driver. You need to have the driver file `libtdsodbc.so` installed in your library PATH on your system.
244
+
By default, ejabberd will use the [`FreeTDS`](https://www.freetds.org/) driver.
245
+
You need to have the driver file `libtdsodbc.so` installed in your library PATH
246
+
on your system.
244
247
245
-
If the FreeTDS driver is not installed in a standard location, or if you want to use another ODBC driver, you can specify the path to the driver using the [sql_odbc_driver](/admin/configuration/toplevel/#sql-odbc-driver) option, available in ejabberd 20.12 or later. For example, if you want to use Microsoft ODBC Driver 17 for SQL Server:
248
+
If the FreeTDS driver is not installed in a standard location, or if you want
249
+
to use another ODBC driver, you can specify the path to the driver using the
0 commit comments