raditha.com, The Site With The LAMP is dedicated to Linux, Apache, Mysql and Python (formerly PHP). It's the work of Raditha Dissanayake, who has an affinity for these technologies as well as several other non redmond technologies such as Java
These photos are from my infrequently updated photo blog

Django change the database backend.

Dec. 22, 2016, 8:37 a.m. odo , python , django , sqlite , mysql

In theory if you use django, changing your RDBS from say sqlite to mysql is a breeze. All you need is generate a dump of your existing data with ./manage.py dumpdata, change settings.py and do ./manage.py migrate on the new server. Then you can import the previously exported data through ./manage.py ...

using SQL Server

Dec. 17, 2016, 1:03 a.m. heidisql , sql-server , winetricks , wine , DBeaver

sqlcmd sucks, so I thought to try out VS Code to connect to the sql server. Unfortunately I had to upgrade my Linux Mint Version due partly to inistallation conflicts with sqlcmd on it. But what do I get when I try to run the sql-server extension on VS Code? Failed to load sql tools service Thi ...

Mint Upgrade

Dec. 15, 2016, 1:33 p.m. mint , vim , gvim , python

I hate updating my OS, but this time I had no choice but to go ahead with it because so many package conflicts are appearing speciallly when using Oracle and SQL Server clients on Mint 17.3 (Ubuntu 14.04). In the old days upgrading mint was particularly diffcult becaus it doesn't have the 'd ...

SQL Server on Linux

Dec. 13, 2016, 3:48 p.m. sql-server , microsoft , docker

Right, it's been more than 15 years since I last opened a connection to a M$ SQL Server. I thought I would have another crack at it since Mircrosoft has embracced open source in general and linux in particular. I setup sql server on my linux machine using the official docker image provided by mi ...