none
SQL 2019 Linux on Docker Machine Learning Services (EULA) fail RRS feed

  • Question

  • Hi,
    I've installed the following SQL 2019 in a Docker. It's running well and I've access to the database:

    Microsoft SQL Server 2019 (RTM) - 15.0.2000.5 (X64)   Sep 24 2019 13:48:23   Copyright (C) 2019 Microsoft Corporation  Developer Edition (64-bit) on Linux (Ubuntu 16.04.6 LTS) <X64>

    It's based on the following docker image:

    mcr.microsoft.com/mssql/server:2019-GA-ubuntu-16.04

    I've launched the following code to enable the external script (I'm interested in python).

    EXEC sp_configure  'external scripts enabled'
    GO
    EXEC sp_configure  'external scripts enabled', 1
    RECONFIGURE WITH OVERRIDE
    GO
    EXEC sp_configure  'external scripts enabled'
    GO

    But, when I try to use an example, I obtain the following message:

    Msg 39111, Level 16, State 1, Procedure sp_execute_external_script, Line 1 [Batch Start Line 13]
    The SQL Server Machine Learning Services End-User License Agreement (EULA) has not been accepted.

    I found this option to apply in the container settings but, this doesn't work.

    environment:
          MSSQL_PID=Developer: 
          ACCEPT_EULA=Y: 
          ACCEPT_EULA_ML=Y: 
          SA_PASSWORD=etl@.1976: 
          MSSQL_AGENT_ENABLED=true: 

    Does anybody have a solution for it?

    Thanks!

    Monday, November 25, 2019 1:06 PM