I have allready succesfully connected to my MySQL db. However, I got another problem with creating new tables. The server returns an erorr in SQL syntax.
CREATE TABLE oddeleni_typy (
typ_id INTEGER NOT NULL AUTO_INCREMENT,
typ VARCHAR NULL ,
SQL Server Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to user near 'NULL ,
TYPE=InnoDB' at line 3
Now I realize its caused because of the missing lenght specification of the VARCHAR column. My fault, sorry.
Log in to post a comment.