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 'PRIMERY KEY
I used the following code to create a table on MySQL: CREATE TABLE IF NOT EXISTS auth ( id INT AUTO_INCREMENT, email VARCHAR(50) UNIQUE NOT NULL PRIMERY KEY, password VARCHAR(250) NOT NULL, username VARCHAR(50) UNIQUE, admin BOOLEAN NOT NULL DEFAULT…