I’m trying to connect to mariadb instance on my NAS with no luck.
I created a new user with full priviledges and a new db.
Then did the configuration in the recorder:
@AlucardZero Well after replying to @gieljnssns I decided to try one more time and everything worked fine without any problem. A little difficult to identify the problem because some factors changed since the first time I tried, because I installed everything from scratch (Reinstalled raspbian and HA, factory reset and reinstalled MariaDB on my NAS)
I was struggeling with this to, on my Synology NAS, but then I found out they have it running on port 3307!
After changing db_url to:
db_url: mysql://username:[email protected]:3307/hadatabase?charset=utf8
it connected to MariaDB10 on my DS412+ with no problems.
Also don’t forget the database has to exist before you connect to it. You’ll have to create it beforehand with phpMyAdmin, HeidiSQL or something like that.
Did you ever get this working? I get an error on my mac ‘mysql: command not found’. Have tried installing but have running into other probs installing it.