...
Установка сервиса: apt-get install eltex-mercury
Настройка таймзоны
При получении в логах ошибки:
Без форматирования |
---|
java.sql.SQLException: The server time zone value 'MSK' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support. |
Нужно прописать корректную таймзону для подключения к БД в файле /etc/eltex-mercury/application.conf
:
Блок кода | ||||
---|---|---|---|---|
| ||||
database {
...
jdbc {
properties {
serverTimezone = Europe/Moscow
}
}
}
|