I’m having to set up a new server and our config file looks like this;
"DriverName": "mysql", "DataSource": "mysql://custom_mmuser:Password@tcp(127.0.0.1:3306)/custom_mattermost_db?sslmode=disable\u0026connect_timeout=10",
I’m getting this error when we run the server;
Failed to ping DB","error":"Error 1045: Access denied for user 'mysql'@'localhost' (using password: YES)","retrying in seconds":10}
The odd thing is the username “mysql@localhost” does not match and nothing I do in the config file get mattermost to recognize the right username or IP.
It almost seems like it is not reading the right config file but everytime I run mattermost.exe it updates the config file and I have to reload the changes.
What am I doing wrong?