Vim/Neovim — Managing Databases

Managing databases and running SQL statements, all within Vim/Neovim.

4 min readMar 11, 2021
Photo by Caspar Camille Rubin on Unsplash


In my previous article, I walked through with you how to manage multiple projects within Vim/Neovim. In this article let’s extend this to see how to manage multiple databases.


I am going to use PostgreSQL and MySQL as examples. For this to work, on the client machine you will need to install the database clients.

Other databases are also supported. More on this later.

If you want to use Docker for MySQL and PostgreSQL for testing, you can refer to this…




Software engineer, Data Science and ML practitioner.