Crash on opening HeidiSQL after failing to connect to MySQL server error

[expired user #5296]'s profile image [expired user #5296] posted 13 years ago in General Permalink
I tend to connect to a number of sources - some on the network, and some over the net via PuTTY's SSH tunnelling. For the latter I route via localhost, but sometimes it is not always what I want to access.

Today, I'm having issues getting to the main Heidi window so I can change source - on startup, I receive the

'SQL Error (2003): can't connect to MySQL server on 'localhost' (10061)

This is all fine and well - in the past I would simply click OK, and choose a new source. However, instead I now receive the madexception window with EAccessViolation reported. I have tried to update to the newest nightly build, but that does not change this issue.

The full bugreport below. Any ideas?


date/time : 2011-01-04, 12:24:26, 76ms
computer name : ADVSEVEN
user name : Fai
registered owner : Microsoft / Microsoft
operating system : Windows 7 x64 build 7600
system language : English
system up time : 6 days 17 hours
program up time : 19 seconds
processors : 2x AMD Athlon(tm) 64 X2 Dual Core Processor 5000+
physical memory : 1461/4094 MB (free/total)
free disk space : (C:) 24.44 GB (D:) 65.88 GB
display mode : 1680x1050, 32 bit
process id : $dcc
allocated memory : 78.64 MB
executable : heidisql.exe
exec. date/time : 2010-11-20 18:49
version : 6.0.0.3603
compiled with : Delphi 2010
madExcept version : 3.0k
callstack crc : $1959c8a5, $cb7f1129, $cb7f1129
exception number : 1
exception class : EAccessViolation
exception message : Access violation at address 0075C500 in module 'heidisql.exe'. Read of address 000000B4.

main thread ($314):
0075c500 heidisql.exe mysql_connection 1216 +1 TMySQLConnection.GetInformationSchemaObjects
006d4e43 heidisql.exe Main 7747 +8 TMainForm.ListDatabasesBeforePaint
0061c0a3 heidisql.exe VirtualTrees TBaseVirtualTree.DoBeforePaint
0062a9d3 heidisql.exe VirtualTrees TBaseVirtualTree.PaintTree
00622c44 heidisql.exe VirtualTrees TBaseVirtualTree.Paint
00544f4b heidisql.exe Controls TCustomControl.PaintWindow
0053f6c9 heidisql.exe Controls TWinControl.PaintHandler
0053fea8 heidisql.exe Controls TWinControl.WMPaint
00544ee5 heidisql.exe Controls TCustomControl.WMPaint
00619b3d heidisql.exe VirtualTrees TBaseVirtualTree.WMPaint
0053ac48 heidisql.exe Controls TControl.WndProc
0053f510 heidisql.exe Controls TWinControl.WndProc
00625518 heidisql.exe VirtualTrees TBaseVirtualTree.WndProc
0053ebb0 heidisql.exe Controls TWinControl.MainWndProc
0049a5dc heidisql.exe Classes StdWndProc
77b400e3 ntdll.dll KiUserCallbackDispatcher
77b4010a ntdll.dll KiUserExceptionDispatcher
0061c0a3 heidisql.exe VirtualTrees TBaseVirtualTree.DoBeforePaint
0062a9d3 heidisql.exe VirtualTrees TBaseVirtualTree.PaintTree
00622c44 heidisql.exe VirtualTrees TBaseVirtualTree.Paint
00544f4b heidisql.exe Controls TCustomControl.PaintWindow
0053f6c9 heidisql.exe Controls TWinControl.PaintHandler
0053fea8 heidisql.exe Controls TWinControl.WMPaint
00544ee5 heidisql.exe Controls TCustomControl.WMPaint
00619b3d heidisql.exe VirtualTrees TBaseVirtualTree.WMPaint
0053ac48 heidisql.exe Controls TControl.WndProc
00617b06 heidisql.exe VirtualTrees TBaseVirtualTree.WMChangeState
0053ac48 heidisql.exe Controls TControl.WndProc
0053f510 heidisql.exe Controls TWinControl.WndProc
00625518 heidisql.exe VirtualTrees TBaseVirtualTree.WndProc
0053ebb0 heidisql.exe Controls TWinControl.MainWndProc
0049a5dc heidisql.exe Classes StdWndProc
77b400e3 ntdll.dll KiUserCallbackDispatcher
77b4010a ntdll.dll KiUserExceptionDispatcher
0061c0a3 heidisql.exe VirtualTrees TBaseVirtualTree.DoBeforePaint
0062a9d3 heidisql.exe VirtualTrees TBaseVirtualTree.PaintTree
00622c44 heidisql.exe VirtualTrees TBaseVirtualTree.Paint
00544f4b heidisql.exe Controls TCustomControl.PaintWindow
0053f6c9 heidisql.exe Controls TWinControl.PaintHandler
0053fea8 heidisql.exe Controls TWinControl.WMPaint
00544ee5 heidisql.exe Controls TCustomControl.WMPaint
00619b3d heidisql.exe VirtualTrees TBaseVirtualTree.WMPaint
0053ac48 heidisql.exe Controls TControl.WndProc
0053f510 heidisql.exe Controls TWinControl.WndProc
00625518 heidisql.exe VirtualTrees TBaseVirtualTree.WndProc
0053ebb0 heidisql.exe Controls TWinControl.MainWndProc
0049a5dc heidisql.exe Classes StdWndProc
77b400e3 ntdll.dll KiUserCallbackDispatcher
75b73675 kernel32.dll BaseThreadInitThunk
[expired user #5296]'s profile image [expired user #5296] posted 13 years ago Permalink
Hi, no responses?

I may put this down as a bug report then.
I will dig into the registry to see if I can at least find some way of getting it to be usable again.

I've had to use phpMyAdmin instead all day!
[expired user #5296]'s profile image [expired user #5296] posted 13 years ago Permalink
I've found the registry setting for auto-reconnect, and set it to 0. HeidiSQL is now working, going straight into the session manager.
ansgar's profile image ansgar posted 13 years ago Permalink
Oh I read your post, sorry for the delay. Seems you're using the original 6 release - you should update to the latest build which probably helps out here. (Help > Check for updates)

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