mtxr / vscode-sqltools

Database management for VSCode

Home Page:https://vscode-sqltools.mteixeira.dev?utm_source=github&utm_medium=homepage-link

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

connect is not the same as server address I used

Catlordx opened this issue · comments

Describe the bug
Could't connect to MySQL server

To Reproduce
I try to use this extension to connect MySQL which was installed in my server but failed.
This is the output.I fountd that it connect to a wrong IP address

Desktop (please complete the following information):

  • SQLTools Version 0.28.3

  • VS Code Version:1.8

  • OS: Windows

  • Driver:

    • MySQL/MariaDB
  • Database version: MySQL v8.0.36

Additional context
Add any other context about the problem here.

This is the output

I didn't find any output. If a screenshot please paste it via the GitHub web UI, and make sure to mask any confidential info.

Did you perhaps paste screenshots into your email reply? If so, those get stripped when the email is ingested by GitHub, so please go to the issue on the GitHub website (there'll be a handy link there at the foot of a GH notification email), then paste images from your clipboard into a new comment, or drag/drop image files there.

Please use VS Code's Command Palette (F1) to run Preferences: Open User Settings (JSON), then search for 113.57.176.222 in that file in case it exists in a "sqltools.connections" array object.

Do the same with commands Preferences: Open Folder Settings (JSON) and Preferences: Open Workspace Settings (JSON) if they are present in Command Palette.

I'm trying to determine why the connection error is reporting a different IP address from the one you think it should be connecting to.

I am certain that no 113.57.176.222 in the settings.json file.

In fact I was able to connect to local MySQL normally, but not on the remote server.It's really confusing.I decided to continue to use SQLyog......

OK. Thanks for trying SQLTools anyway.