Hallo,
Ich hab in meinem MySQL Log einen Syntax Error und ich weiß nicht woher der kommt
Code
[10:28:40] [DEBUG] CMySQLConnection::Connect - establishing connection to database...
[10:28:40] [DEBUG] CMySQLConnection::Connect - connection was successful
[10:28:40] [DEBUG] CMySQLConnection::Connect - connection was successful
[10:28:40] [DEBUG] CMySQLConnection::Connect - connection was successful
[10:28:40] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[10:28:40] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[10:28:40] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled
[10:29:01] [DEBUG] mysql_escape_string - source: "Seblix", connection: 1, max_len: 24
[10:29:01] [DEBUG] mysql_tquery - connection: 1, query: "SELECT * FROM cor_accounts WHERE Spielername='Seblix'", callback: "UserCheck", format: "i"
[10:29:01] [DEBUG] CMySQLQuery::Execute[UserCheck] - starting query execution
[10:29:01] [DEBUG] CMySQLQuery::Execute[UserCheck] - query was successfully executed within 0.836 milliseconds
[10:29:01] [DEBUG] CMySQLResult::CMySQLResult() - constructor called
[10:29:01] [DEBUG] Calling callback "UserCheck"..
[10:29:01] [DEBUG] cache_get_data - connection: 1
[10:29:01] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called
[10:29:13] [DEBUG] mysql_escape_string - source: "Seblix", connection: 1, max_len: 24
[10:29:13] [DEBUG] mysql_escape_string - source: "test123", connection: 1, max_len: 50
[10:29:13] [DEBUG] mysql_tquery - connection: 1, query: "INSERT INTO (Spielername, Passwort) VALUES ('Seblix','test123')", callback: "(null)", format: "(null)"
[10:29:13] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[10:29:13] [ERROR] CMySQLQuery::Execute[] - (error #1064) 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 '(Spielername, Passwort) VALUES ('Seblix','test123')' at line 1
[10:29:13] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError
Alles anzeigen
Danke für die Hilfe