Hello,
I don’t want to hijack this thread and if you’d like it can be moved. I’ve been stuck using WDMYSQL v10.7 because of similar errors and composed this a while ago:
I’ve been unable to get wdmysql v11.0 running on my Win10 PC using MySQL v5.7.32. V10.7 runs fine so I have been using that, but I did find the following happening when I launch v11.0:
- When I click Connect do DB, for some reason, wdmysql issues the following query which results in an out of memory error:
use weather;
SET timestamp=1611983432;
select * from wdisplay;
wdmysql displays: ERROR: Out of memory at time/date 12:10:34 AM 01/30/2021
- The program appears to start running after the error, but then I noticed it has an extra comma at the end of the query line so it fails:
INSERT INTO wdisplay(wx_date, wx_time, temperature, humidity, dewpoint, barometer, windspeed, windgust, wind_direction, rain, solar, uv, heat_index, wind_chill, ) VALUES (‘2021/01/30’, ‘00:11:00’, ‘date’, ‘date’, ‘date’, ‘date’, ‘date’, ‘date’, ‘date’, ‘date’, ‘date’, ‘date’, ‘date’, ‘date’, )
[FireDAC][Phys][MySQL] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘)’ at line 1
Note: the INTO values appear to be correct so if the extra comma wouldn’t be there I believe it would insert correctly. I’m not sure why the VALUES line shows ‘date’ for fields 3 through 14 so that could also be a problem. Yes, I am using a Custom Setup but have been for years!
- In addition if I hit Disconnect wdmysql won’t disconnect from the table.
NOTE: I tried this on MySQL v8.0.23 and the memory error doesn’t occur but items 2 and 3 are still there.
MySQL_RegKeys_fake_user_pswd.txt (6.03 KB)