Edit: I fixed the issue by deleting the mariaDB appdata directory and re-installing.
Good evening,
I'm having a bit of an issue with my new docker install of mariaDB. I just set the password and then started the docker container, and when I send the command:
mysql -uroot -p
and then type in my password all I get back is:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Within the docker container logs this is what I am seeing:
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 99
User gid: 100
-------------------------------------
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30_config: executing...
[cont-init.d] 30_config: exited 0.
[cont-init.d] 40-initialise-db: executing...
[cont-init.d] 40-initialise-db: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
181004 19:03:40 mysqld_safe Logging to syslog.
181004 19:03:40 mysqld_safe Starting mysqld daemon with databases from /config/databases
I noticed that the advice to one poster was to view the first post and perform the steps there and as I don't have a backup because this is a new install I just performed the following:
docker exec -it mariadb bash
mv /config/log/ /config/log-old/
exit
docker restart mariadb
However I am still getting the same results. I have copied and pasted the password directly from the docker editing page, typed it in manually and still I get the same message. Am I missing something really simple here?
Thank you in advance for your help