Upgrading SQL Server on Linux

, 2017-03-01 (first published: )

I saw this week that there was a new CTP (v1.3) of SQL Server v.Next. I haven’t had a lot of time to work on the Linux version lately, but I thought I’d try and see how well the upgrade went.

There’s an install and upgrade page at Microsoft you can use, but on Ubuntu, things are easy. First, connect to your system and run this:

sudo apt-get update

That will download updated packages and get the system ready. you can see that I have a lot of stuff to update on this particular system.

2017-02-22 15_06_08-Ubuntu 64-bit SQL Server .210 - VMware Workstation

Once this completes, you just run

sudo apt-get install mssql-server

This will actually perform the install. That takes a minute, and in my case, I walked away, letting this run. When it finished. I tried to connect from a local machine, but got an error. So I ran this:

systemctl status mssql-server

This should give me the status, which was that things had stopped.

2017-02-22 15_07_39-Ubuntu 64-bit SQL Server .210 - VMware Workstation

OK, no problem. This starts the service.

systemctl start mssql-server

Once this completed, I could connect.

2017-02-22 15_08_26-Ubuntu 64-bit SQL Server .210 - VMware Workstation

I’ve done this a few times over the last year, but not since CTP 1.0, so I reminded myself of the process.

So far, in my testing, most everything I’ve done with the core database engine, all scripts, etc., seem to work. More and more work is being done, and I’m interested to see how this version progresses.

If you like Linux, maybe you want to give this a try.

Filed under: Blog Tagged: Linux, sql server, syndicated





Related content

Database Mirroring FAQ: Can a 2008 SQL instance be used as the witness for a 2005 database mirroring setup?

Question: Can a 2008 SQL instance be used as the witness for a 2005 database mirroring setup? This question was sent to me via email. My reply follows. Can a 2008 SQL instance be used as the witness for a 2005 database mirroring setup? Databases to be mirrored are currently running on 2005 SQL instances but will be upgraded to 2008 SQL in the near future.


1,567 reads

Networking - Part 4

You may want to read Part 1 , Part 2 , and Part 3 before continuing. This time around I'd like to talk about social networking. We'll start with social networking. Facebook, MySpace, and Twitter are all good examples of using technology to let...


1,530 reads

Speaking at Community Events - More Thoughts

Last week I posted Speaking at Community Events - Time to Raise the Bar?, a first cut at talking about to what degree we should require experience for speakers at events like SQLSaturday as well as when it might be appropriate to add additional focus/limitations on the presentations that are accepted. I've got a few more thoughts on the topic this week, and I look forward to your comments.


360 reads