How to upgrade a DigitalOcean marketplace droplet

Thanks for sharing this. In my case, I also had to change the config and replace mysql2 with mysql.