apt-get install --print-uris mysql-server > desktop

http://in.archive.ubuntu.com/ubuntu/pool/main/libe/libevent/libevent-core-2.0-5_2.0.21-stable-2_amd64.debhttp://in.archive.ubuntu.com/ubuntu/pool/main/m/mysql-5.7/mysql-common_5.7.16-0ubuntu0.16.04.1_all.debhttp://in.archive.ubuntu.com/ubuntu/pool/main/liba/libaio/libaio1_0.3.110-2_amd64.debhttp://in.archive.ubuntu.com/ubuntu/pool/main/m/mysql-5.7/mysql-client-core-5.7_5.7.16-0ubuntu0.16.04.1_amd64.debhttp://in.archive.ubuntu.com/ubuntu/pool/main/m/mysql-5.7/mysql-client-5.7_5.7.16-0ubuntu0.16.04.1_amd64.debhttp://in.archive.ubuntu.com/ubuntu/pool/main/m/mysql-5.7/mysql-server-core-5.7_5.7.16-0ubuntu0.16.04.1_amd64.debhttp://in.archive.ubuntu.com/ubuntu/pool/main/m/mysql-5.7/mysql-server-5.7_5.7.16-0ubuntu0.16.04.1_amd64.debhttp://in.archive.ubuntu.com/ubuntu/pool/main/libh/libhtml-template-perl/libhtml-template-perl_2.95-2_all.debhttp://in.archive.ubuntu.com/ubuntu/pool/main/m/mysql-5.7/mysql-server_5.7.16-0ubuntu0.16.04.1_all.deb

This will print out a bunch of URLs. You can download these from another computer, and transfer them to your Ubuntu machine, putting the .deb files into /var/cache/apt/archives.

sudo apt-get install mysql-server

And apt will find the package files you’ve downloaded, and install mysql.