I will briefly describe what I have done.
1. weewx database saved (mysqldump)
2. update from 3.9 to 4.0
3. Installed Belchertown skin and found that there are problems with the 
NOAA reports
4. 4.0 completely uninstalled (all weewx files, folders and database) and 
reinstalled, and transferred the all backed up settings. 
5. Did not remember that the weewx.conf 3.9 has the entry 'target_unit = 
METRICWX'. With the 4.0 it says 'US'.  After days database saved and weewx 
database deleted. 'target_unit' changed back to METRICWX.

Conclusion: 
1 Database A with METRICWX and old structure 3.9
1 Database B with METRICWX and new structure 4.0
1 Database C with US and new structure 4.0
I imported the METRICWX Database A with a php script into Database B. Now I 
want to import Database C as well, but how?

I want to keep the structure of the 4.0 Database.

greetings
Joachim



Am Montag, 11. Mai 2020 13:06:09 UTC+2 schrieb Graham Eddy:
>
> unless you are using features of the new database, you can simply continue 
> using the old database (no unload/reload - keeping a copy of old database 
> before using it with updated weewx, of course).
> g-eddy
>
> On 11 May 2020, at 8:53 pm, Joachim Puttkammer <[email protected] 
> <javascript:>> wrote:
>
> Hi all,
> I have reinstalled weewx 4.0 and now I want to import the old mysql DB 
> (weewx 3.9). Unfortunately there is a problem with the import, because the 
> old archive table has 52 columns and the new one has 114 columns.
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/778a347a-b25a-40ec-80af-9273debad5bd%40googlegroups.com.

Reply via email to