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

[MariaDB / MySQL] Error: Can't add new command when connection is in closed state #820

Open
SmileYzn opened this issue Jun 25, 2024 · 2 comments
Assignees
Labels
bug 🪲 Something isn't working MySQL/MariaDB🐬

Comments

@SmileYzn
Copy link
Contributor

SmileYzn commented Jun 25, 2024

Describe the bug
After a idle time, the Antares SQL give this error when execute a query in a query tab:
Error: Can't add new command when connection is in closed state

That can occur in MySQL, MariaDB (That was i tested) and in different hosting providers.

Also occur the error when i disconnect and reconnect to server manually
TypeError: Cannot read properties of null (reading 'includes')

To Reproduce

  1. Open a new query tab
  2. Execute an query
  3. Wait 30~60 seconds or some more time
  4. Error appears

Expected behavior
The connection must be still open for new query execution

Screenshots

Screenshots attached here, click to open

Screenshot

image

Application (please complete the following information):

  • App client: Antares SQL 7.25
  • App version: 7.25
  • Installation source: From Arch Linux AUR repository (yay -S antares-sql-bin)

Environment (please complete the following information):

  • OS name: Arch Linux x86_64
  • OS version: Linux 6.6.35-2-lts
  • DB name: MariaDB 10.11.7 (x86_64 Linud) (At WHM/CPANEL remote host)
  • DB version: 10.11.7

Additional context
That can occurs in MariaDB, MySQL server from different versions and in other hosts too.
Also do not matter if i use Single Connection mode or not in server connect options.

Thanks again for Antares SQL Application 🙏

@D-nov
Copy link

D-nov commented Jun 29, 2024

Just stumbled upon this fun error (again), so here's some more info to it:

ENV:

  • Ubuntu 24.xx
  • MariaDB (also MYSQL) : mysql Ver 15.1 Distrib 10.11.8-MariaDB
  • Antares SQL: current 0.7.25 (deb)

Steps:

  • install maria db server on ubuntu
  • connect antares to the local server

Actual results:

  • You get error popup after connecting "TypeError: Cannot read properties of null (reading 'includes')".
    Screenshot from 2024-06-29 18-16-42

  • When creating new DB the collations dropdown is empty

  • From there a lot more things go wrong as the dude above described...

BUT it somehow works fine when used over ssh. Similar setup, different environment.

@stz184
Copy link

stz184 commented Aug 26, 2024

I can confirm the same issue on Ubuntu 24.04 and Antares 0.7.28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working MySQL/MariaDB🐬
Projects
Status: 📌 To do
Development

No branches or pull requests

4 participants