MySQL Create Table 'closing parenthesis'
<p>This is my sql query for MySQL:</p>

<pre><code>DROP DATABASE IF EXISTS java_proj;

CREATE DATABASE java_proj 
DEFAULT CHARACTER SET utf8
DEFAULT COLLATE utf8_general_ci;

USE java_proj;

CREATE TABLE Konto(
  idKonto SERIAL PRIMARY KEY, 
  login VARCHAR(14) UNIQUE CHECK(LENGTH(login)&gt;4) NOT NULL,
  haslo VARCHAR(14) CHECK(LENGTH(haslo)&gt;4) NOT NULL,
  data_rejestracji DATE DEFAULT NOW() NOT NULL,
  data_urodzenia DATE NOT NULL,
  imie VARCHAR(30) NOT NULL,
  nazwisko VARCHAR(30) NOT NULL
);
</code></pre>

<p>I'm getting error out of nowhere, in the line of <code>login</code>.
Error: <code>Syntax error: 'closing parenthesis'</code></p>

<p><a href="https://i.stack.imgur.com/oKaNe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oKaNe.png" alt="enter image description here"></a></p>