How to upgrade microsoft sql server 2019 evaluation to standard edition in ubuntu

Perumal B S 20 Reputation points
2023-12-21T20:13:37.6966667+00:00

What are the steps to be follow upgrade the MSQL Server 2019 Evaluation to Standard Edition in ubuntu 20.04

SQL Server Other
0 comments No comments
{count} votes

Accepted answer
  1. LiHongMSFT-4306 31,566 Reputation points
    2023-12-22T02:34:57.83+00:00

    Hi @Perumal B S

    Remove the old repository. Use the following commands based on the type of previously configured repository.

    sudo add-apt-repository "$(curl https://packages.microsoft.com/config/ubuntu/20.04/mssql-server-2019.list)"

    Configure the new repository to use for SQL Server installations and upgrades.

    After you have configured the correct repository, you can proceed to install or update SQL Server and any related packages from the new repository.

    Referring from this doc: Configure repositories for installing and upgrading SQL Server on Linux

    Best regards,

    Cosmog Hong


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our Documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Azar 29,520 Reputation points MVP Volunteer Moderator
    2023-12-21T20:52:50.95+00:00

    Hi

    Before starting the upgrade process, it's crucial to back up your databases to prevent data loss.

    First diwnload the SQL Server 2019 Standard Edition installation package from the official Microsoft website.

    Stop the SQL Server service to ensure no active connections during the upgrade.

    bashCopy code
    sudo systemctl stop mssql-server
    
    

    Uninstall the existing SQL Server packages related to the Evaluation Edition.

    bashCopy code
    sudo apt-get remove --purge mssql-server
    
    

    Install the SQL Server 2019 Standard Edition using the downloaded installation package. Follow the installation wizard and provide necessary information.

    bashCopy code
    sudo dpkg -i <path-to-package.deb>
    
    
    

    Follow the documentations below for detailed info

    https://learn.microsoft.com/en-us/search/?terms=upgrade%20the%20MSQL%20Server%202019

    If this helps kindly accept the answers

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.