Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

MySQL Settings Help

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Locked
mike101
Posts: 2
Joined: Sun 31 Jan 2016 2:57 am
Weather Station: Cumulus
Operating System: 10
Location: USA

MySQL Settings Help

Post by mike101 »

Hi. I just got CumulusMX working on my Raspberry Pi and uploading to WeatherUnderground. I have to say, what a fine job you guys do. I really appreciate the work, it's a fantastic piece of software!

The last piece I would like to set up is to have it dump the data in a MySQL database. I created a new schema/user, filled in the connection details, and clicked the "Create Realtime", "Create Monthly", and "Create Daily" table buttons. The tables were created perfectly. I see it inserted 3 records in to the monthly table at what seem to be 10 minute intervals, but it is not inserting anything in to the Realtime table. Am I missing something here? My settings are below. Running MySQL 5.6.

Thank you!


[MySQL]
Host=home.****.net
Port=48965
User=cumulusmx
Pass=****
Database=weatherdata
MonthlyMySqlEnabled=1
RealtimeMySqlEnabled=1
DayfileMySqlEnabled=1
MonthlyTable=Monthly
DayfileTable=Dayfile
RealtimeTable=Realtime
RealtimeRetention=
CustomMySqlSecondsCommandString=
CustomMySqlMinutesCommandString=
CustomMySqlRolloverCommandString=
CustomMySqlSecondsEnabled=0
CustomMySqlMinutesEnabled=0
CustomMySqlRolloverEnabled=0
CustomMySqlSecondsInterval=10
CustomMySqlMinutesIntervalIndex=6
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: MySQL Settings Help

Post by steve »

Do you have 'Enable Realtime' selected in the Web/FTP settings on the Internet Settings page? Is it updating the realtime.txt file in the installation folder? Have you tried restarting Cumulus?
Steve
mike101
Posts: 2
Joined: Sun 31 Jan 2016 2:57 am
Weather Station: Cumulus
Operating System: 10
Location: USA

Re: MySQL Settings Help

Post by mike101 »

I didn't realize that I had to have EnableRealtime set under the [FTP] directive even though I'm not using FTP. That fixed it perfectly. Thank you!

PS: Made a small donation to show my appreciation :)
Locked