true
8082
old
C:\Program Files (x86)\Traccar\traccar-web.war
true
google
true
all
C:\Program Files (x86)\Traccar\logs\tracker-server.log
org.h2.Driver
jdbc:h2:C:\Program Files (x86)\Traccar\data\database
sa
SELECT * FROM server;
UPDATE server SET
registration = :registration,
readonly = :readonly,
map = :map,
bingKey = :bingKey,
mapUrl = :mapUrl,
distanceUnit = :distanceUnit,
speedUnit = :speedUnit,
latitude = :latitude,
longitude = :longitude,
zoom = :zoom,
twelveHourFormat = :twelveHourFormat
WHERE id = :id;
SELECT * FROM users
WHERE email = :email;
SELECT * FROM users
WHERE id = :id;
SELECT id, login AS name, email, readOnly AS readonly, admin FROM users;
INSERT INTO users (name, email, hashedPassword, salt, admin, map, distanceUnit, speedUnit, latitude, longitude, zoom, twelveHourFormat)
VALUES (:name, :email, :hashedPassword, :salt, :admin, :map, :distanceUnit, :speedUnit, :latitude, :longitude, :zoom, :twelveHourFormat);
UPDATE users SET
name = :name,
email = :email,
admin = :admin,
map = :map,
distanceUnit = :distanceUnit,
speedUnit = :speedUnit,
latitude = :latitude,
longitude = :longitude,
zoom = :zoom,
twelveHourFormat = :twelveHourFormat
WHERE id = :id;
UPDATE users SET hashedPassword = :hashedPassword, salt = :salt WHERE id = :id;
DELETE FROM users WHERE id = :id;
SELECT userId, deviceId FROM user_device;
SELECT userId, groupId FROM user_group;
SELECT * FROM devices;
INSERT INTO devices (name, uniqueId, groupId) VALUES (:name, :uniqueId, :groupId);
UPDATE devices SET name = :name, uniqueId = :uniqueId, groupId = :groupId WHERE id = :id;
UPDATE devices SET status = :status, lastUpdate = :lastUpdate WHERE id = :id;
DELETE FROM devices WHERE id = :id;
INSERT INTO user_device (userId, deviceId) VALUES (:userId, :deviceId);
DELETE FROM user_device WHERE userId = :userId AND deviceId = :deviceId;
SELECT * FROM groups;
INSERT INTO groups (name) VALUES (:name);
UPDATE groups SET name = :name, groupId = :groupId WHERE id = :id;
DELETE FROM groups WHERE id = :id;
INSERT INTO user_group (userId, groupId) VALUES (:userId, :groupId);
DELETE FROM user_group WHERE userId = :userId AND groupId = :groupId;
SELECT * FROM positions WHERE deviceId = :deviceId AND fixTime BETWEEN :from AND :to ORDER BY fixTime;
INSERT INTO positions (device_id, protocol, serverTime, time, valid, latitude, longitude, altitude, speed, course, address, other)
VALUES (:deviceId, :protocol, :now, :deviceTime, :valid, :latitude, :longitude, :altitude, :speed, :course, :address, :attributes);
SELECT id, protocol, device_id AS deviceId, serverTime, time AS deviceTime, time AS fixTime,
valid, latitude, longitude, altitude, speed, course, address, other AS attributes
FROM positions WHERE id IN (SELECT latestPosition_id FROM devices);
UPDATE devices SET latestPosition_id = :id WHERE id = :deviceId;
5001
5002
5003
5004
5005
5006
false
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109