Skip to content

Upgrading to latest SQL Server 2019 CTP on Linux using local repository

Reading Time: 2 minutes

In this post I want to cover upgrading to latest SQL Server 2019 CTP on Linux using local repository. Because SQL Server 2019 CTP 2.5 was released last week.

Which is the latest preview version that you can download from here.

With this in mind, I thought I would test upgrading SQL Server 2019
on Linux to CTP 2.5 by using the local repository I had created in a previous post. Which can be used to manage SQL Server installations on Linux servers that have no internet access.

You can read more about how to do that in detail in my previous post here.

Issues

Of course, testing this meant I had to upgrade my local repository first. Because I had a few issues doing this, I decided to improvise.

So, I made a copy of the original repository I had created previously just in case. Afterwards, I tried a couple of times to do a sync for the newer components. Eventually, I ended up deleting all the rpm files in the folder.

Following that I then issued a reposync command again to download the latest rpm files, which worked.

However, when it came to installing on the client it would not recognize the fact an upgrade was required. Which I resolved by running the createrepo command on the server again with the –update parameter.

SQL Server Management Studio

In addition, I decided to upgrade SQL Server Management Studio I had installed locally whilst testing this. Last week the General Availability (GA) release of version 18 was released, which you can download here.

Database scoped configuration

After the installation, I tested the behavior of the database scoped configuration to have online index rebuilds as the default again. Which I discussed in my previous post here.

However, I did encounter one issue with a database which I had upgraded to compat level 150. It was in suspect mode, however a restart appeared to resolve this (don’t use this as a fix in the real world).

After resolving this I was able to test all the databases again. Which had the same interesting results as in my previous post.

Polybase

Now, one of the new features announced for the latest CTP is that you can now install Polybase on SQL Server on Linux. Which I have tested installing, however I have yet to test connecting to another data source.

Further reading

I previously wrote a post about current SQL Server 2019 learning resources, which you can read here.

Final word

I hope you enjoyed reading about me upgrading to the latest SQL Server 2019 CTP on Linux using local repository.

Of course, if you have any questions or comments about this post then leave a comment.

Upgrading to latest SQL Server 2019 CTP on Linux using local repository
Image courtesy of openclipart.org
Published inSQL Server 2019SQL Server on Linux

2 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *