This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-15. For the latest, interactive version please visit https://mariadb.com/kb/.

TrueNAS plug in root password error

hi All,

I'm trying to set up the Mariadb;- plug in for TrueNAS (v12.3). after installation, I go to log in to create a users (for kodi central database - https://kodi.wiki/view/MySQL/Setting_up_MySQL#tab=FreeNAS_and_freeBSD) I get an error 1045 (28000) acess denied for root@localhost But I've not set a password up as this is a fresh installation. I've tried this https://mariadb.com/kb/en/mysql_secure_installation/ but again it get stopped at root's password.

Does anyone have a suggestion on what I'm doing wrong??

Many thanks

Answer Answered by Ian Gilfillan in this comment.

You don't give very many details, and I'm not familiar with TrueNAS, but perhaps Troubleshooting Connection Issues is helpful. Maybe due to trying to use a password from root when you only have unix socket authentication enabled? See Authentication from MariaDB 10.4.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.