I am seeing the following error every 5 minutes:
DoLogFile: Error encountered during MySQL operation = Access denied for user ''@'<ip address>' (using password: NO)
2024-10-14 15:50:00.320 DoLogFile: Error - Object reference not set to an instance of an object.
There's nothing relating to that IP in the Cumulus.ini file. Did I set something in v3 that I forgot about and is now causing this in v4?
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
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 error
Moderator: mcrossley
-
Defenderdogs
- Posts: 38
- Joined: Mon 19 Apr 2021 6:32 am
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: RPi3 Buster
-
water01
- Posts: 3669
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10/11 64bit Synology NAS
- Location: Burnham-on-Sea
- Contact:
Re: MySQL error
Has your IP address changed? If it has you will have to give remote access via the Cpanel to your new IP address, assuming that the MySQL database in on your hosting service.
-
Defenderdogs
- Posts: 38
- Joined: Mon 19 Apr 2021 6:32 am
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: RPi3 Buster
Re: MySQL error
No, the IP is actually the CMX host (a Pi3) and I reserve it on my router. Can't for the life of me think why I would have wanted to do anything MySQL related on this device.....
-
Defenderdogs
- Posts: 38
- Joined: Mon 19 Apr 2021 6:32 am
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: RPi3 Buster
Re: MySQL error
I found it. It seems I had "pi" and hostname "<the ip address> setup as a user in my MySQL database. I upgraded the OS on my Pi3 to the latest version but the "pi" user is no longer setup automatically and I decided not to use it. I removed the user, the error no longer appears and rows are again being added in my MySQL database.
Now I need to work out how to get it to 'catch up' on several days of missing data in the database.....
Now I need to work out how to get it to 'catch up' on several days of missing data in the database.....
-
BigOkie
- Posts: 283
- Joined: Tue 28 May 2013 1:06 am
- Weather Station: Davis VP2 Plus
- Operating System: Raspian Bookworm (RPi 3b)
- Location: Tulsa, OK
Re: MySQL error
This might be a little late here, but this should get you started on updating the missing data.
-
Defenderdogs
- Posts: 38
- Joined: Mon 19 Apr 2021 6:32 am
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: RPi3 Buster
Re: MySQL error
Thank you but the link is broken....
-
BigOkie
- Posts: 283
- Joined: Tue 28 May 2013 1:06 am
- Weather Station: Davis VP2 Plus
- Operating System: Raspian Bookworm (RPi 3b)
- Location: Tulsa, OK
Re: MySQL error
Sorry there was an extra 'l' in the link.
I run this once a month to add records that may be missing from anomalies. The way the script file is structured it ignores any duplicate records trying to be inserted by using INSERT IGNORE.