mtxr / SublimeText-SQLTools

SQLTools for Sublime Text 3
https://code.mteixeira.dev/SublimeText-SQLTools/
GNU General Public License v3.0
177 stars 40 forks source link

'mysql' could not be found by Sublime Text #35

Closed ghost closed 7 years ago

ghost commented 7 years ago

When setting up connections, I get the following error:

'mysql could not be found by Sublime Text. Please set the 'mysql' path in your SQLTools settings before continue.

I've followed through the basic installation and connection setup. Could further documentation be provided for setting this up?

Alexey-T commented 7 years ago

Executable file "mysql" is not found by OS, use PATH to add it

mtxr commented 7 years ago

is it working?

441211324 commented 7 years ago

The key point is that the error message will prompt cli PATH for a problem, showing the configuration file path under windows, and now find the MySQL configuration file on the MAC machine,This the perfect solution。 PS: The point is to find your own MySQL PATH, don't copy mine, this is just a case { "cli" : { "mysql" : "/usr/local/opt/mysql@5.7/bin/mysql" } }