Not possible to register
Brought to you by:
snaggle
Using MySQL 3.x it is not possible to register a new
user. The problem is that a space is mussing between
user and the first bracket in the INSERT SQL-Statement.
This is the correct code:
createUser = con.prepareStatement(
"INSERT INTO user (username, passwd, email, points)
VALUES (?, password(?), ?, 1000)");
Corrected FIle