Page 1 of 1

Exportomysql

Posted: Tue 03 Jan 2023 1:04 am
by BrunswickWeather
Does the version included in the in 3220 release the latest version as I seem to have problems. Version 1.6.1.0


'
Microsoft Windows [Version 10.0.22621.963]
(c) Microsoft Corporation. All rights reserved.

C:\Users\ianni>cd \cumulusmx

C:\CumulusMX>exporttomysql dayfile
Parameter: dayfile
Error encountered opening MySQL connection
Could not load file or assembly 'System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

C:\CumulusMX>'

Re: Exportomysql

Posted: Tue 03 Jan 2023 10:25 am
by mcrossley
I'll update it today to use the newer MySQL library. I missed that dependency.

Re: Exportomysql

Posted: Tue 03 Jan 2023 11:47 am
by mcrossley
Version 1.7.0 is now available

Re: Exportomysql

Posted: Fri 10 Mar 2023 2:09 pm
by iandrews
Has anything changed with the latest release 3.24.0 - build 323

As I get the below error.

c:\CumulusMX>ExportToMySQL monthly
Parameter: monthly
Error encountered opening MySQL connection
Could not load file or assembly 'System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

I am on Windows server 2022, with MySQL 8. Cumulus MX connects (and updates) databases fine.

Re: Exportomysql

Posted: Fri 10 Mar 2023 2:11 pm
by mcrossley
Doh! I forgot to recompile it against the new SQLite3.dll used in v3.24.0. I'll fix it later today.

Re: Exportomysql

Posted: Fri 10 Mar 2023 2:21 pm
by iandrews
No rush, I am building a new system and was just going to try (experiment) with it for when I move data over from the current system.

Re: Exportomysql

Posted: Mon 13 Mar 2023 5:41 pm
by iandrews
mcrossley wrote: Fri 10 Mar 2023 2:11 pm Doh! I forgot to recompile it against the new SQLite3.dll used in v3.24.0. I'll fix it later today.
Can confirm that Exportomysql now works ok with 3.24.1 (build 3234).

Also, other issues that I saw with 3231 such as select a chart not displaying extra sensors and editing strings.ini not saving are also now working. :clap:

Re: Exportomysql

Posted: Tue 14 Mar 2023 10:39 am
by mcrossley
:thumbsup: