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

Startup script is not executed on reconnects #1896

Open
giovvv opened this issue Jan 14, 2024 · 0 comments
Open

Startup script is not executed on reconnects #1896

giovvv opened this issue Jan 14, 2024 · 0 comments

Comments

@giovvv
Copy link

giovvv commented Jan 14, 2024

Preconditions

  • HeidiSQL version: 12.6.0.6765
  • Database type and version: MariaDB 10.11.4
  • OS: Windows 10

Describe the bug
If the connection is dropped (e.g. because the computer is put in standby) and then resumed, the startup script specified in the connection manager is not executed again.

In my case, the script contains a 'SET sql_mode' statement which affects the queries.

It is reasonable to expect the resumed connection to have the same settings of the previous one.

To Reproduce

  1. Connect to server
  2. Put the computer in standby
  3. Resume
  4. You can now see that the new connection has not inherited the settings in the startup script (in my case, it can be seen by issuing a SHOW VARIABLES statement)

Screenshots or Crash reports
not applicable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant