Jump to content

Brauche Hilfe beim Programmieren(MYSQL)


Marian /
 Share

Recommended Posts

Methode:

public static void registerPlayer(ProxiedPlayer p) {
        if(!existPlayer(p.getUniqueId().toString())) {
            Freunde.mysql.update("INSERT INTO Freunde(UUID, FList, FRequest, FJump, FOnline, FMessage, FSilent, PInvite, FMaximum, FConnect, FServer, FState) VAULES"
        + "('" + p.getUniqueId().toString() + "','','','true','true','true,'false','0','100','" + System.currentTimeMillis() + "','Lobby','Keiner');");
        }
    }

 

Fehler: 

com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'VAULES('6dbfeaea-e29a-434f-9b2c-1e30eb3698ca','Leer','Leer','true','true','true,' at line 1

 

Ich weiß nicht weiter vlt kann mir jemand von euch helfen danke im vorraus :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...
B
B