install by version 4.15 for database mysql,but error.how can i repair it,thk

itlife365.com3 years ago

version 4.15 for database mysql,but error. below

<entry key='database.url'>jdbc:mysql://localhost:3306/traccar?serverTimezone=UTC&amp;useSSL=false&amp;allowMultiQueries=true&amp;autoReconnect=true&amp;useUnicode=yes&amp;characterEncoding=UTF-8&amp;sessionVariables=sql_mode=''</entry>
[root@izwz9a logs]# tail -f tracker-server.log 
2022-01-25 23:13:00 ERROR: Main method error - Access denied for user 'traccar'@'localhost' (using password: YES) - CJException (... < DataManager:131 < *:90 < Context:298 < Main:120 < ...)
2022-01-25 23:13:12  INFO: HikariPool-1 - Starting...
2022-01-25 23:13:17 ERROR: HikariPool-1 - Exception during pool initialization. - Access denied for user 'traccar'@'localhost' (using password: YES) - CJException (... < DataManager:131 < *:90 < Context:298 < Main:120 < ...)
2022-01-25 23:13:17 ERROR: Main method error - Access denied for user 'traccar'@'localhost' (using password: YES) - CJException (... < DataManager:131 < *:90 < Context:298 < Main:120 < ...)
2022-01-25 23:13:29  INFO: HikariPool-1 - Starting...
2022-01-25 23:13:34 ERROR: HikariPool-1 - Exception during pool initialization. - Access denied for user 'traccar'@'localhost' (using password: YES) - CJException (... < DataManager:131 < *:90 < Context:298 < Main:120 < ...)
2022-01-25 23:13:34 ERROR: Main method error - Access denied for user 'traccar'@'localhost' (using password: YES) - CJException (... < DataManager:131 < *:90 < Context:298 < Main:120 < ...)
2022-01-25 23:13:46  INFO: HikariPool-1 - Starting...
2022-01-25 23:13:51 ERROR: HikariPool-1 - Exception during pool initialization. - Access denied for user 'traccar'@'localhost' (using password: YES) - CJException (... < DataManager:131 < *:90 < Context:298 < Main:120 < ...)
Anton Tananaev3 years ago

Access denied for user 'traccar'@'localhost'

The error is pretty clear.

itlife365.com3 years ago

ok, thinks. I have reset it.