Skip to content

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

Open
@SmileYzn

Description

@SmileYzn

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 🙏

Metadata

Metadata

Assignees

Type

No type

Projects

Status

📌 To do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions