date/time : 2012-10-29, 09:40:13, 742ms
user name : ALVARO.GONZALEZ <admin>
registered owner : ALVARO
operating system : Windows 7 x64 Service Pack 1 build 7601
system language : Spanish
system up time : 7 days 1 hour
program up time : 21 seconds
processors : 2x AMD Athlon(tm) 64 X2 Dual Core Processor 4000+
physical memory : 2562/4096 MB (free/total)
free disk space : (C:) 1,10 GB (D:) 232,56 GB
display mode : 1280x1024, 32 bit
process id : $14d0
allocated memory : 84,51 MB
executable : heidisql.exe
exec. date/time : 2012-10-29 09:39
version : 7.0.0.4218
compiled with : Delphi XE
madExcept version : 3.0m beta 1
callstack crc : $0b8abc9f, $96228fb7, $96228fb7
exception number : 1
exception class : EDatabaseError
exception message : SQL Error (1046): No database selected.
main thread ($650):
00716f27 heidisql.exe dbconnection 1533 +27 TMySQLConnection.Query
0079daff heidisql.exe runsqlfile 126 +69 TRunSQLFileForm.FormActivate
0056f6a3 heidisql.exe Forms TCustomForm.Activate
00570760 heidisql.exe Forms TCustomForm.CMActivate
004e8ec4 heidisql.exe Controls TControl.WndProc
004ed788 heidisql.exe Controls TWinControl.WndProc
0056cda4 heidisql.exe Forms TCustomForm.WndProc
004ece28 heidisql.exe Controls TWinControl.MainWndProc
004ab6c8 heidisql.exe Classes StdWndProc
77560107 ntdll.dll KiUserCallbackDispatcher
74e496c0 USER32.dll SendMessageW
00571700 heidisql.exe Forms TCustomForm.ShowModal
007d6ff9 heidisql.exe Main 2961 +65 TMainForm.RunQueryFiles
007d6b0c heidisql.exe Main 2867 +9 TMainForm.actLoadSQLExecute
004ab023 heidisql.exe Classes TBasicAction.Execute
004d76b1 heidisql.exe ActnList TContainedAction.Execute
004d846c heidisql.exe ActnList TCustomAction.Execute
004aaee7 heidisql.exe Classes TBasicActionLink.Execute
00508f14 heidisql.exe Menus TMenuItem.Click
0050a89f heidisql.exe Menus DoClick
0050a98b heidisql.exe Menus TMenu.IsShortCut
004efb20 heidisql.exe Controls TWinControl.IsMenuKey
004efb95 heidisql.exe Controls TWinControl.CNKeyDown
004e8ec4 heidisql.exe Controls TControl.WndProc
004ed788 heidisql.exe Controls TWinControl.WndProc
005e4a8a heidisql.exe SynEdit 6248 +22 TCustomSynEdit.WndProc
004ece28 heidisql.exe Controls TWinControl.MainWndProc
004ab6c8 heidisql.exe Classes StdWndProc
77560107 ntdll.dll KiUserCallbackDispatcher
00575b36 heidisql.exe Forms TApplication.IsHintMsg
750a33a8 kernel32.dll BaseThreadInitThunk
Tried again (after carefully clicking on the only database showing up on the left tree) and got this:
date/time : 2012-10-29, 09:43:33, 576ms
user name : ALVARO.GONZALEZ
registered owner : ALVARO
operating system : Windows 7 x64 Service Pack 1 build 7601
system language : Spanish
system up time : 7 days 1 hour
program up time : 45 seconds
processors : 2x AMD Athlon(tm) 64 X2 Dual Core Processor 4000+
physical memory : 2491/4096 MB (free/total)
free disk space : (C:) 1,10 GB (D:) 232,56 GB
display mode : 1280x1024, 32 bit
process id : $16ac
allocated memory : 124,05 MB
executable : heidisql.exe
exec. date/time : 2012-10-29 09:39
version : 7.0.0.4218
compiled with : Delphi XE
madExcept version : 3.0m beta 1
callstack crc : $0b8abc9f, $4a6db03f, $4a6db03f
exception number : 1
exception class : EDatabaseError
exception message : SQL Error (2006): MySQL server has gone away.
main thread ($858):
00716f27 heidisql.exe dbconnection 1533 +27 TMySQLConnection.Query
0079daff heidisql.exe runsqlfile 126 +69 TRunSQLFileForm.FormActivate
0056f6a3 heidisql.exe Forms TCustomForm.Activate
00570760 heidisql.exe Forms TCustomForm.CMActivate
004e8ec4 heidisql.exe Controls TControl.WndProc
004ed788 heidisql.exe Controls TWinControl.WndProc
0056cda4 heidisql.exe Forms TCustomForm.WndProc
004ece28 heidisql.exe Controls TWinControl.MainWndProc
004ab6c8 heidisql.exe Classes StdWndProc
77560107 ntdll.dll KiUserCallbackDispatcher
74e496c0 USER32.dll SendMessageW
00571700 heidisql.exe Forms TCustomForm.ShowModal
007d6ff9 heidisql.exe Main 2961 +65 TMainForm.RunQueryFiles
007d6b0c heidisql.exe Main 2867 +9 TMainForm.actLoadSQLExecute
004ab023 heidisql.exe Classes TBasicAction.Execute
004d76b1 heidisql.exe ActnList TContainedAction.Execute
004d846c heidisql.exe ActnList TCustomAction.Execute
004aaee7 heidisql.exe Classes TBasicActionLink.Execute
00508f14 heidisql.exe Menus TMenuItem.Click
0050a89f heidisql.exe Menus DoClick
0050a98b heidisql.exe Menus TMenu.IsShortCut
00571d15 heidisql.exe Forms TCustomForm.IsShortCut
004efb48 heidisql.exe Controls TWinControl.IsMenuKey
004efb95 heidisql.exe Controls TWinControl.CNKeyDown
004e8ec4 heidisql.exe Controls TControl.WndProc
0061db37 heidisql.exe VirtualTrees TBaseVirtualTree.WMNCHitTest
004e8ec4 heidisql.exe Controls TControl.WndProc
004ed788 heidisql.exe Controls TWinControl.WndProc
00629a94 heidisql.exe VirtualTrees TBaseVirtualTree.WndProc
004ece28 heidisql.exe Controls TWinControl.MainWndProc
004ab6c8 heidisql.exe Classes StdWndProc
77560107 ntdll.dll KiUserCallbackDispatcher
00575b36 heidisql.exe Forms TApplication.IsHintMsg
750a33a8 kernel32.dll BaseThreadInitThunk
That's what I call a Monday.
I finally ran the script from the command line client. No idea why that worked because select @@max_allowed_packet; returns the same value in both clients :-?