[SOLVED] SQLSTATE[HY000] [1045] Access denied for user

Hi,

I’ve just done a docker install and am having trouble getting the CMS to come up. When I go to the CMS IP address an error page says the following:

Fatal Error - sorry this shouldn't happen. SQLSTATE[HY000] [1045] Access denied for user 'xibo'@'xibo.net-xibo' (using password: YES)

I have set the MYSQL_PASSWORD in my docker command and if I run mysql -h mysql_host -u xibo -p and supply the password from within my Xibo docker instance, I can connect fine.

I’m also not sure where the xibo.net-xibo hostname is coming from…I’ve not specified that anywhere.

Any thoughts?

Thanks!

Figured it out. My password was getting the first few characters cut off when passing it into the Docker container via the run command. I changed the password and it’s working now.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.