Error connecting to core-mariadb

Hey guys!

HA is suddenly not co-operating. It will not connect to the database (i use mariadb add-on). This is the error msg I get:

Error during connection setup: (_mysql_exceptions.OperationalError) (2003, 'Can\'t connect to MySQL server on \'core-mariadb\' (111 "Connection refused")') (retrying in 3 seconds)

I’ve tried using
localhost instead of core-mariadb and then I get this error msg:

Error during connection setup: (_mysql_exceptions.OperationalError) (2002, 'Can\'t connect to local MySQL server through socket \'/run/mysqld/mysqld.sock\' (2 "No such file or directory")') (retrying in 3 seconds)

If I use 127.0.0.1:

Error during connection setup: (_mysql_exceptions.OperationalError) (2013, 'Lost connection to MySQL server at \'reading initial communication packet\', system error: 0 "Internal error/check (Not system error)"') (retrying in 3 seconds)

The mariadb add-on log says it’s logging errors to

 mysqld_safe Logging to '/data/databases/core-mariadb.err'.

but I can’t find the log anywhere.

I have no idea how this happened, and I have not had any problems with this before. Do anyone know why this is happening?

I still haven’t figured out what the root cause is…it’s driving me crazy.

i also have this problem

I didn’t figure it out. I just ended up reinstalling everything.