Search code examples
mysqlvisual-studio-codesqltools

Connections not showing on VSC with SQLTools


I don't know if this is the place to ask, but I'm desperate. So I've trying to make a connection with SQLTools on VSC, but it won't work. I think it is making the connection, but it's just not showing up. I don't know why this is, but I've tried re-installing both the extensions and MySQL itself. It also gives an error for an old database or connection that I thought had been deleted. I don't know how to delete a connection and how I am supposed to make a new one. Please help me. Thanks in advanceHere is a picture of the VSC screen and the error at the bottom right. I also don't know what the error is in the SQL console


Solution

    1. Just press Ctrl + shift + p and search for SQLToolsManagement: Delete connection https://i.sstatic.net/5aqSO.png

    2. Delete all the previous connections

    3. Now add new connection

    This worked for me.