I don’t think this is a problem with wdmysql, i think it is a problem with my os (xp prof).
The problem is:
Wdmysql starts when I boot and when I start it manually, its in the process list as running. It has stopped appearing in the task bar. and i cannot get to the gui screen. Also it has stopped updating the dbase.
What should I check to see if i have a setting wrong, or an error in the registry ?
i’ve given up on solving the problem for the moment, I just wait till next morning and its working. Curious thing over the last week I have twice found another instance of the programme running.
I have more info on the failure of WDMYSQL to start.
Stopping the MYSQL service immediatly brings WDMYSQL to life and in the task bar.
In the log file I get this:
09:31:07 - STATUS Connecting [Connect] 0
09:31:07 - STATUS Active Connect to mySQL Server 0
ERROR MySQL server has gone away
09:33:01 - STATUS Active Add Entry 0
09:34:00 - STATUS Active Add Entry 0
09:35:00 - STATUS Active Add Entry 0
09:36:00 - STATUS Active Add Entry 0
I have exactly the same problem. I have just spotted that wdmysql was fixed from a bug it used to have of getting getting slower and slower so I am trying using it again after giving up some time ago due to the performance problem. But I am having the same problem as you namely no notification area icon (or data added) until mysql service is stopped wherupon the icon appears and can be double clicked to bring the windo up.
Upon restarting wdmysql connectes to the database and starts adding records to my database. Is this what you are seeing?
Maybe we can compare notes and see if anything is in common.
Firstly Win XP SP2.
MySQL version 4.0.20a.
I also get an entry in the Application Logs: Hanging application wdmysql.exe, version 9.5.2.0, hang module hungapp, version 0.0.0.0, hang address 0x00000000.
I’m on XP Pro sp2 but I doubt that makes any difference. I’m not getting the message in the event log (applications)though, or am I looking in the wrong place ?. I’m not that good with MySQl , is there a logging facility that may show the problem ?
What platform are you running MySQL on? On Linux you can add entries into /etc/my.cnf to turn on debugging logging (to various levels). I’ve used the debug logs to watch the low level interactions between WDMYSQL and a database, so I know you can get a lot of info out of the MySQL server if you really want it.
There’s more, in the data directory there is a .err file
Reading the log file there are some strange commands and messages.
Where I would have expected an INSERT command there’s this "1 Connet username@localhost 1 Query REPLACE INTO wx_data "
Neither of the files are reoporting the connection problem. I have gone through a reboot, WDMYSQL failed to start. Stopped the MYSQL service, WDMSYL appeared in the system tray and when I started MYSQL again all was OK. Still nothing in the log file. I’ll leave it overnight and see if it picks up anything
Brian is correct. I found a fault in the library he was using that meant that each time he tried to use INSERT the library would use REPLACE. REPLACE requires DELETE privilege as well as INSERT privilege, so if you haven’t given your user those rights you will get errors.
I have installed the new version but I’m still getting the same problem with connection.
The log file has this "041109 8:34:50 6 Connect user@localhost on windy 6 Create DB windy "
Its the create that I find curious.