J'essaie d'installer SQL Server sur un Mac basé sur M1 avec docker.
https://debugsolutions.wordpress.com/2021/03/17/using-sql-server-on-m1-based-mac-with-docker/
Je suis allé jusqu'à la fin de l'étape 5, mais mon conteneur ne se connecte pas. J'obtiens :
1/08/02 01:31:47 [launchpadd] INFO: Launchpadd is connecting to mssql on localhost:1431
2021/08/02 01:31:47 [launchpadd] WARNING: Failed to connect to SQL because: dial tcp 127.0.0.1:1431: connect: connection refused, will reattempt connection.
2021/08/02 01:31:48 [launchpadd] WARNING: Failed to connect to SQL because: dial tcp 127.0.0.1:1431: connect: connection refused, will reattempt connection.
2021/08/02 01:31:49 [launchpadd] WARNING: Failed to connect to SQL because: dial tcp 127.0.0.1:1431: connect: connection refused, will reattempt connection.
2021/08/02 01:32:41 [launchpadd] INFO: Extensibility Log Header:
2021/08/02 01:32:41 [launchpadd] WARNING: Failed to load /var/opt/mssql/mssql.conf ini file with error open /var/opt/mssql/mssql.conf: no such file or directory
2021/08/02 01:32:41 [launchpadd] INFO: DataDirectories = /bin:/etc:/lib:/lib32:/lib64:/sbin:/usr/bin:/usr/include:/usr/lib:/usr/lib32:/usr/lib64:/usr/libexec/gcc:/usr/sbin:/usr/share:/var/lib:/opt/microsoft:/opt/mssql-extensibility:/opt/mssql/mlservices:/opt/mssql/lib/zulu-jre-11:/opt/mssql-tools
2021/08/02 01:32:41 Drop permitted effective capabilities.
2021/08/02 01:32:41 [launchpadd] INFO: Polybase remote hadoop bridge disabled
2021/08/02 01:32:41 [launchpadd] INFO: Launchpadd is connecting to mssql on localhost:1431
2021/08/02 01:32:41 [launchpadd] WARNING: Failed to connect to SQL because: dial tcp 127.0.0.1:1431: connect: connection refused, will reattempt connection.
2021/08/02 01:32:42 [launchpadd] WARNING: Failed to connect to SQL because: dial tcp 127.0.0.1:1431: connect: connection refused, will reattempt connection.
2021/08/02 01:32:43 [launchpadd] WARNING: Failed to connect to SQL because: dial tcp 127.0.0.1:1431: connect: connection refused, will reattempt connection.
Comment puis-je réparer cela ?
La commande que j'ai exécutée à la fin de l'étape 5
docker run --cap-add SYS_PTRACE -e ‘ACCEPT_EULA=1’ -e ‘MSSQL_SA_PASSWORD=Password.1’ -p 1433:1433 --name azuresqledge -d mcr.microsoft.com/azure-sql-edge
0 votes
Je vote pour clore cette question parce qu'elle a été postée à partir de stackoverflow.com/questions/68615630/sql-server-on-m1-based-mac et y est répondu.
0 votes
N'est-ce pas hors sujet pour l'OS ? car pas de programmation, comme le dit le premier commentaire (je ne voterai pas la fermeture de cet espace comme je l'aurais fait si je l'avais vu en premier mais gardez-le en mémoire pour les cas futurs).