-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MySQL issue with Core2024.3.0 #112663
Comments
I have basically the same experience, mysql connection did not work after installing core 2024.3.0, but started working again as soon as I rolled back to 2024.2.5 I am using Raspberry Pi 3b installation and a mysql in Azure, with ?ssl=true |
ok, this was probably unrelated - my MariaDb version seemed to be too old |
I think something has definety changed in 2024.3.0 regarding the database conenctions. So obviuosly something is not running smoth with db connections. |
Same issue here: |
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) recorder documentation |
A recorder issue has popped up for me as well.
|
updated the OS and it still works just about to try core again
mysql broke again rolled back to working
|
To give further details on my issue: I upgraded to 2024.3.0 and everything was okay for a few days. Then I noticed I couldn't pull any log or recorder history for entities. I checked my NAS, where I store my HA recorder history, and the entire database was gone. Nothing changed on my NAS side of things either. I have no idea why the entire database would be deleted and I've never had this issue before |
broke again trying Core 2024.3.3 and rolled back to 2024.2.5 , and still no ones looked into it Core
|
I decided to try again and updated 2 days ago. So far, its going well, but I think this is the same experience I had before it deleted the whole database. |
guess its a good thing my db denies it then , I might have to start doing archive backups then |
Hi, Your MySQL connection string should look like something like this. The help page should be updated to reflect this new requirement. |
so add ssl_mode=REQUIRED mysql://user:password@SERVER_IP/DB_NAME?charset=utf8mb4&ssl=true to mysql://user:password@SERVER_IP/DB_NAME?charset=utf8mb4&ssl=true&ssl_mode=REQUIRED Confirmed working Core |
The problem
I just did an HA update today and now MySQL refuses to allow connection
no passwords or host names etc have been changed mysql settings have not been played with
and after about 100 restarts using quick and full trying to change config combinations and even full power off / on , gave up and rolled back to a part backup from 10 hours ago
and it connected again somethings up with Core2024.3.0
assuming
Fix sql integration no recorder (@gjohansson-ST - #111263)
creating a proxmox snapshot of current machine
What version of Home Assistant Core has the issue?
Core2024.3.0
What was the last working version of Home Assistant Core?
Core2024.2.5
What type of installation are you running?
Home Assistant OS
Integration causing the issue
No response
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
I have seen others having issues with ssl no longer working ie) can not use webmin anymore can no longer remote in
The text was updated successfully, but these errors were encountered: