Hi, @Ludo
For sanity check purposes, can you please run the following command on your Mattermost terminal and provide the full output with any sensitive information such as password redacted?
cat /opt/mattermost/config/config.json | grep -A11 "SqlSettings"
Just want to make sure that we don’t miss out on any details. For example, this is how it looks like on my end:
ahmaddanial@mattermost:~$ cat /opt/mattermost/config/config.json | grep -A11 "SqlSettings"
"SqlSettings": {
"DriverName": "mysql",
"DataSource": "xxxxx:xxxxx@tcp(127.0.0.1:3306)/mattermost?charset=utf8mb4,utf8\u0026readTimeout=30s\u0026writeTimeout=30s",
"DataSourceReplicas": [],
"DataSourceSearchReplicas": [],
"MaxIdleConns": 20,
"ConnMaxLifetimeMilliseconds": 3600000,
"MaxOpenConns": 300,
"Trace": false,
"AtRestEncryptKey": "xxxxx",
"QueryTimeout": 30
},
Also, may I know the behavior if you change localhost
to the IP address 127.0.0.1
which is similar to mine? Are you still getting the same error too?