I was using AWS RDS (service from Amazon that configures automatically your database) and Traccar with no problems.
Now i'm trying to use Traccar in a brand new Ubuntu + MYSQL server (all with default configs and root user on db) and it DOESN'T WORK!
If i change the configs to H2, works normally.
This MYSQL is working with another application with PHP, so it's connectable and working.
I think it must be some configuration that Traccar needs from default MYSQL and PHP doesn't, but, what configuration?
There aren't errors in logs.
It just doesn't start web and trackers don't connect.
I've tried to build a new VM and if try to connect with default MYSQL doesn't work too.
Fixed with:
apt-get install libmysql-java
Maybe it should be on installation.
Traccar already includes MySQL JDBC driver. The command you provided in the last comment is not required.
I think in your case the problem was that you had some ancient JDBC driver installed on your system already, so it conflicted with Traccar driver.
I was using AWS RDS (service from Amazon that configures automatically your database) and Traccar with no problems.
Now i'm trying to use Traccar in a brand new Ubuntu + MYSQL server (all with default configs and root user on db) and it DOESN'T WORK!
If i change the configs to H2, works normally.
This MYSQL is working with another application with PHP, so it's connectable and working.
I think it must be some configuration that Traccar needs from default MYSQL and PHP doesn't, but, what configuration?
There aren't errors in logs.
It just doesn't start web and trackers don't connect.
I've tried to build a new VM and if try to connect with default MYSQL doesn't work too.