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

Unable to execute mysql #140

Closed bilogic closed 6 years ago

bilogic commented 6 years ago
  1. I setup mysql.exe under the cli config
  2. Tested mysql.exe to perform a remote connection in my command prompt, it can connect and query.
  3. But running the same query in ST3 gives the following error in the console. Any idea why? (I'm not familiar with python)
Traceback (most recent call last):
  File "E:\sublimetext3\sublime_plugin.py", line 535, in run_
    return self.run()
  File "E:\sublimetext3\Data\Packages\SQLTools\SQLTools.py", line 472, in run
    Window().status_message(MESSAGE_RUNNING_CMD)
AttributeError: 'Window' object has no attribute 'status_message'

Thank you.

tkopets commented 6 years ago

This is a very strange error you got there. This code is supposed to work just fine. Please try to restart Sublime Text and try again. If fails, tell me your Sublime Text version and build number (Help -> About Sublime Text).

bilogic commented 6 years ago

Hi,

I have restarted ST3 and even tried to reinstall the SQLTools several times. My ST3 version is Build 3084

tkopets commented 6 years ago

Can you try to update to newest Sublime Text version (build 3143) to see if this might be a problem? Or this is not an option for you? https://www.sublimetext.com/3

bilogic commented 6 years ago

Ok, it works now. Maybe you can add the ST3 minimum build required to your readme. Thank you.