Answer the question
In order to leave comments, you need to log in
1064 MySQL error when trying to create a database!?
Hello. I just started learning SQL and MySQL from video tutorials, so when I try to create a database: CREATE newDataBase; Throws ERROR 1064(42000): 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 'newDataBase' at line 1.
I searched in previous topics, different commands cause such errors for everyone, I can't understand why ... Help?)
Answer the question
In order to leave comments, you need to log in
1064 indicates the use of reserved words as database elements or an error in the query structure. And so - SQL-query in studio.
Excuse me, but how will your server guess what you are actually creating? Table, trigger, view, base.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question