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 #166

Closed ghost closed 6 years ago

ghost commented 6 years ago

{ "connections": { "demo": { "type" : "mysql", "host" : "127.0.0.1", "port" : "3306", "username": "root", "password": "root", "database": "demo", "encoding": "utf-8" }, }, "default": "demo" }

image

tkopets commented 6 years ago

Edit your SQLTools User Settings (ST: Settings or Preferences->Package Settings->SQLTools->Settings) and set the path to mysql binary. Or alternatively add the folder where mysql binary is located to PATH rnvironment variable (might not work on MacOS - see readme). Here is an example of such config for Windows platform:

{
    "cli":
    {
        "mysql": "c:/Program Files/MySQL/MySQL Server 5.7/bin/mysql.exe"
    }
}
ghost commented 6 years ago

Thank you

ghost commented 6 years ago

But,Chinese garbled

image

image

tkopets commented 6 years ago

I've made appropriate changes and hopefully, it would solve your problem. Please wait for next release in a next few days.

ghost commented 6 years ago

I use utf8mb4 OK。