Closed abuckenheimer closed 7 years ago
The problem is that SQLTools cannot find your DB cli binary (mysql
, psql
, sqlite
etc) in PATH.
Either add your DB cli binaries to PATH or set the full path to you cli binary.
Example cli section from SQLTools.sublime-settings
below:
"cli" : {
"mysql" : "c:/Program Files/MySQL/MySQL Server 5.7/bin/mysql.exe" ,
}
The correct messaging will be available in next release.
@tkopets latest version worked with me, many thanks!
@abuckenheimer
You are using the latest version from master branch or from PackageControl?
You have modified your cli
section in settings, or it just started to work fine without any intervention?
Sorry should have been more clear, I manually installed the latest version from master and was able to track down the settings issue.
Getting the following traceback trying to select a connection.
I just upgraded to sublime build 3128 so its quite possibly related to that.
I followed the settings through the code and I could see them being set in SQLTools@startPlugin(), and then being passed in at SQLToolsAPI.Connection@init. But something must happen to them inbetween initialization and getOptionsForSgdbCli. Passing the "items" attribute of a Settings object seems fishy to me but I'm not sure.