Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect with "Drivers XXXX is not installed" #590

Closed
ctrlShiftBryan opened this issue May 30, 2020 · 11 comments
Closed

Unable to connect with "Drivers XXXX is not installed" #590

ctrlShiftBryan opened this issue May 30, 2020 · 11 comments
Labels

Comments

@ctrlShiftBryan
Copy link

Describe the bug
When I upgrade from 0.21.9 to 0.22.2

['ext:error-handler'] Error opening connection Driver PostgreSQL is not installed
['ext:error-handler:verbose'] [ResponseError: Driver PostgreSQL is not installed
	at /Users/barendt/.vscode/extensions/mtxr.sqltools-0.22.2/extension.js:16:111673
	at /Users/barendt/.vscode/extensions/mtxr.sqltools-0.22.2/extension.js:16:112080
	at Immediate.<anonymous> (/Users/barendt/.vscode/extensions/mtxr.sqltools-0.22.2/extension.js:16:112622)
	at processImmediate (internal/timers.js:439:21)
	at process.topLevelDomainCallback (domain.js:131:23)] {
  code: -1,
  data: { driver: 'PostgreSQL', driverOptions: {} }
}

I cannot connect to any postgres databases.

['ext:error-handler'] Error opening connection Driver MySQL is not installed
['ext:error-handler:verbose'] [ResponseError: Driver MySQL is not installed
	at /Users/barendt/.vscode/extensions/mtxr.sqltools-0.22.2/extension.js:16:111673
	at /Users/barendt/.vscode/extensions/mtxr.sqltools-0.22.2/extension.js:16:112080
	at Immediate.<anonymous> (/Users/barendt/.vscode/extensions/mtxr.sqltools-0.22.2/extension.js:16:112622)
	at processImmediate (internal/timers.js:439:21)
	at process.topLevelDomainCallback (domain.js:131:23)] {
  code: -1,
  data: { driver: 'MySQL', driverOptions: {} }
}

I also get the same error conencting to MySQL. Downgrading to 0.21.9 fixes the issue.

To Reproduce
Steps to reproduce the behavior:
Simply upgrade and try to connect to any database.

Expected behavior
It should allow me to connect to databases.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • SQLTools Version 0.22.2
  • VSCode Version: 1.45.1
  • Driver Used/Version: PostgreSQL 9 & MySQL 6
  • OS: mac
@mtxr
Copy link
Owner

mtxr commented May 30, 2020

I'll work to make this message better, but you can use v0.22 and install the driver needed to use it from here: https://marketplace.visualstudio.com/search?term=tag%3Asqltools-driver&target=VSCode&category=All%20categories&sortBy=Relevance

@mtxr mtxr closed this as completed May 30, 2020
@ctrlShiftBryan
Copy link
Author

Thank you

@stasberkov
Copy link

@mtxr your link allows downloading the following drivers:
image
What about community drivers, e.g. Cassandra driver?

@jonyhayama
Copy link

Hi I'm having the exact same issue, but installing the drivers didn't solve it...
for some reason, the extension can't find them..

image

  • SQLTools v0.22.3
  • SQLTools PostgreSQL/Redshift Driver v0.0.2
  • VSCode v1.45.1
  • OS: Windows + Ubuntu 20.04 (WSL2)

I rolled back to v0.22.2 and got the same messages as @ctrlShiftBrian. I rolled back another time to v0.21.9 and it fixed the issue...

@beantowel
Copy link

I found v0.21.9 was the last version not popping this error. And i found some time i can execute the query directly in the *Session.sql file since there are those buttons, but in v0.21.9 i only got the button Detach file from *db.
屏幕快照 2020-06-02 下午6 35 35

@elibal
Copy link

elibal commented Jun 2, 2020

Hi I'm having the exact same issue, but installing the drivers didn't solve it...

  • SQLTools v0.22.3

  • SQLTools PostgreSQL/Redshift Driver v0.0.2

  • VSCode v1.45.1

  • OS: Windows 10

Only rollback to version 0.21.7 helps.

@ginkgomzd
Copy link

The problem is resolved for me by rolling-back the driver extension.
I only have this problem on sqltools-driver-mysql 0.0.2

@mtxr
Copy link
Owner

mtxr commented Jun 2, 2020

@mtxr your link allows downloading the following drivers:
image
What about community drivers, e.g. Cassandra driver?

@stasberkov they will be releasing this driver soon. Still work in progress. If you need those drivers while they are working on that, you need to roll back to v0.21.x.

You can follow up the integration here: #586

@r21meghashyam
Copy link

image
Need support for OrableDB

@the-homeless-god
Copy link

Need support for Cassandra

@DarkPerl
Copy link

Driver OracleDB is not installed. :-(
What to do ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

10 participants