Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.

Select Server

jan's profile image jan posted 5 months ago in Running SQL scripts Permalink

when i open an sql file from exporer, heidisql always starts an new process and asks me, to connect to an server.

is there an possibility to tell heidisql in the sql-file to which server to connect?

ansgar's profile image ansgar posted 5 months ago Permalink

No, an .sql file does not contain connection credentials, just SQL commands.

jan's profile image jan posted 5 months ago Permalink

can there be an possibility to add something like that?:

/ saved session: zentrale / select person, sum(hours) from zeiterfassung group by year, month

Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.
jan's profile image jan posted 5 months ago Permalink

is there a possibility, that heidi resues an existing session/window when double clicking sql-files?

ansgar's profile image ansgar posted 5 months ago Permalink

Yes, you can restart each of your previous connections when HeidiSQL starts:

Description

jan's profile image jan posted 5 months ago Permalink

i only want to restart the previous connections when i open heidi with an sql-file and not from start-menu

ansgar's profile image ansgar posted 5 months ago Permalink

Yes, that should work as well. I didn't say you have to use the start-menu.

Please login to leave a reply, or register at first.




Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.