I installed the package using yay but when I tried to start the service using systemd, the service failed.
Then I realized the unit file was running the service as the user mssql which did not exist.
So I edited the unit file and removed the line specifying User=mssql
, ran sudo systemctl daemon-reload and everything worked fine.
PS:- I'm not sure if this step is necessary but I ran sudo /opt/mssql/bin/sqlservr --accept-eula
to accept the EULA
Pinned Comments
doctorzeus commented on 2023-05-16 10:15 (UTC) (edited on 2023-06-17 03:56 (UTC) by doctorzeus)
This current package is MSSQLServer2022.
For anyone who needs to set the compatibility level of a db to migrate to an older version, see this article:
https://learn.microsoft.com/en-us/sql/t-sql/statements/alter-database-transact-sql-compatibility-level?view=sql-server-ver16
doctorzeus commented on 2023-02-22 22:23 (UTC) (edited on 2024-08-19 04:24 (UTC) by doctorzeus)
NOTES ON libldap 2.4:
Yes there is a newer version in the official repos but the binaries do not run without this version which is listed in the dependencies by Microsoft.
If you have a problem compiling libldapV2.4, go and ask on that package page, not here.
You can get libldap V2.4 here from this AUR package:
https://aur.archlinux.org/packages/libldap24