Witam, mam taki kod:
String insert = "insert into `" + tbName + "` values (" + p.getUniqueId().toString() + ", " + p.getName() + ", " + p.getAddress().getAddress().toString().replace("/", "") + ")";
con.createStatement().executeUpdate(insert);
Bukkit.broadcastMessage("Dodano gracza " + p.getName() + " do bazy danych serwera");
W konsoli mam błąd składniowy sql:
[14:23:22 WARN]: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '.1.172)' at line 1
Gdzie zrobiłem literówkę?