Closed Rido closed 7 years ago
Have you restarted minicron since you changed the configuration? It opens a connection once at startup and will not re-connect if the config changes.
Yes, I restarted Minicron several times, but each time I get this error.
It seems like the user 'minicron' on mysql server does not have permission to read (perform a SELECT) on database, did u checked this permissions on mysqlserver?
I think this is more likely to be a permissions issue in MySQL than minicron itself as mentioned above so I'm closing this.
The last time I got some problems with the database connections. For some reason Minicron is using the wrong database host.
Error message:
Mysql2::Error: SELECT command denied to user 'minicron'@'mailtester.xxxxx.lan' for table 'executions': SELECT
executions.* FROM
executionsORDER BY
executions.
created_atDESC,
executions.
started_atDESC LIMIT 1
My config is:
Is there a fix for this problem or am I doing something wrong?
Thanks!