« Sql server for linux » : différence entre les versions

De Banane Atomic
Aller à la navigationAller à la recherche
(Page redirigée vers Ubuntu server 16.04#SQL Server)
Balise : Nouvelle redirection
 
(Redirection supprimée vers Ubuntu server 16.04#SQL Server)
Balise : Redirection supprimée
Ligne 1 : Ligne 1 :
#REDIRECTION [[Ubuntu_server_16.04#SQL_Server]]
= [[Ubuntu_server_16.04#SQL_Server|Ubuntu 16.04]] =
 
= Archlinux =
== Installation ==
<kode lang='bash'>
yaourt mssql-server
</kode>
 
=== mssql-conf setup problem ===
SQL ne démarre pas car la configuration ne s'est pas faite durant l'installation.
<kode lang='bash'>
sc-start mssql-server
# Started Microsoft SQL Server Database Engine.
# Failed to determine user credentials: No such process
# Failed at step USER spawning /opt/mssql/bin/sqlservr: No such process
</kode>
 
Il faut relancer la configuration
<kode lang='bash'>
sudo /opt/mssql/bin/mssql-conf setup
/bin/bash: /opt/mssql/bin/../lib/mssql-conf/mssql-conf.py: /usr/bin/python22: bad interpreter: No such file or directory
</kode>
 
Modifier l'interpréteur et relancer la configuration
<filebox fn='/opt/mssql/lib/mssql-conf/mssql-conf.py'>
#!/usr/bin/python2
</filebox>

Version du 11 janvier 2020 à 13:51

Ubuntu 16.04

Archlinux

Installation

Bash.svg
yaourt mssql-server

mssql-conf setup problem

SQL ne démarre pas car la configuration ne s'est pas faite durant l'installation.

Bash.svg
sc-start mssql-server
# Started Microsoft SQL Server Database Engine.
# Failed to determine user credentials: No such process
# Failed at step USER spawning /opt/mssql/bin/sqlservr: No such process

Il faut relancer la configuration

Bash.svg
sudo /opt/mssql/bin/mssql-conf setup
/bin/bash: /opt/mssql/bin/../lib/mssql-conf/mssql-conf.py: /usr/bin/python22: bad interpreter: No such file or directory

Modifier l'interpréteur et relancer la configuration

/opt/mssql/lib/mssql-conf/mssql-conf.py
#!/usr/bin/python2